You are not logged in.
Sangen yllättävä käänne
After my failure with the last time i dont think i have any right to sign up. Sorry Zertap (who, i belive, was the one i matched with). Tried to get you a anime figure of... just a leg. which im sure i saw before but couldnt find anymore and then i couldnt find a suitable replacement.
Damn. I would've appreciated that one quite a bit tbh :D
But yeah don't worry, I kinda forgot about not recieving it too.
I guess I should move this out of feature requests since this is kind of a dump for memes happening in ts now. (maybe we will see more memes if I move this out too, who knows)
Maybe this year I'll get my present
Kinda forgot about this. I don't think I ever received my gift :D
One of many loots from tracon, finally managed to take a pic.
Cost me only 20€, high quality fabric.
I know it is lewd af but for that price it was worth it.
penis
anus
RIP Kuro. You will be missed. MIA. Last seen: Yesterday out drinking.
New guardian for my keys:
Not a pic but ach well.
https://nya.fi/misc/furball-yelling.webm
:D:D:D oh god :D
>nano
>hacker
:----------D
meanwhile:
def checkSudoku(fName):
sudokuNumbers = []
with open(fName, 'r', encoding="utf-8") as f:
for line in f:
for char in line:
if char.isnumeric():
sudokuNumbers.append(int(char))
sudokuRows = [sudokuNumbers[i:i + 9] for i in range(0, len(sudokuNumbers), 9)]
sudokuColumns = [[] for i in range(9)]
for row in sudokuRows:
for i,col in enumerate(row):
sudokuColumns[i].append(col)
sudokuSubgrids = [[] for i in range(9)]
offset = 0
for i,row in enumerate(sudokuRows):
if i % 3 == 0 and i != 0:
offset += 3
subgridparts = [row[x:x + 3] for x in range(0, len(row), 3)]
for j, subgridpart in enumerate(subgridparts):
for number in subgridpart:
sudokuSubgrids[j+offset].append(number)
sudokuSubgridRows = [sudokuSubgrids[i:i + 3] for i in range(0, len(sudokuSubgrids), 3)]
illegalRows = []
illegalCols = []
illegalSubgrids = []
for i,row in enumerate(sudokuRows):
if len(row) != len(set(row)):
illegalRows.append(str(i+1))
for i,col in enumerate(sudokuColumns):
if len(col) != len(set(col)):
illegalCols.append(str(i+1))
for x,subgridRow in enumerate(sudokuSubgridRows):
for y,subgrid in enumerate(subgridRow):
if len(subgrid) != len(set(subgrid)):
illegalSubgrids.append(str([x+1, y+1]))
if not illegalRows and not illegalCols and not illegalSubgrids:
print("The sudoku solution is legal")
else:
if illegalRows:
print("Illegal rows: {0}".format(' '.join(illegalRows)))
if illegalCols:
print("Illegal columns: {0}".format(' '.join(illegalCols)))
if illegalSubgrids:
print("Illegal subgrids: {0}".format(' '.join(illegalSubgrids)))
(takes files with content like: https://u.nya.fi/Te0QMN.txt )