Those are possible values for those two unknowns for the first row.
ResultCode:PLst = [2, 0, 4, 5, 7, 0, 3, 2] print(sum(PLst)) Sub = 30 - sum(PLst) print(Sub) #Clue here for i in range(1,Sub): print(i,Sub - i)
23
7
1 6
2 5
3 4
4 3
5 2
6 1
Here's another clue:
There are possible values of two or three variables that add up to a number each row. Subtract 30 from known entries and work from there.
Let linear algebra work it's magic for the magic square.
Those are possible values for those two unknowns for the first row.
ResultCode:PLst = [2, 0, 4, 5, 7, 0, 3, 2] print(sum(PLst)) Sub = 30 - sum(PLst) print(Sub) #Clue here for i in range(1,Sub): print(i,Sub - i)
23
7
1 6
2 5
3 4
4 3
5 2
6 1
Maybe you should read this first before commenting?
https://www.programiz.com/python-pro...ultiply-matrix
NPC is a beloved internet personality. Their pronouns are he/him. NPC fully recognizes the inherent privilege of being able to post on a message board, and as such NPC makes sure to avoid all social media where the trust and safety council flags something as dangerous to think about. He avoids all tweets that are disputed, and only supports mainstream news sources where former CIA, NSA and FBI serve as talking heads.The future is female, orange man bad, black lives matter, and wear a damn mask!
cancel2 2022 (12-29-2020)
NPC is a beloved internet personality. Their pronouns are he/him. NPC fully recognizes the inherent privilege of being able to post on a message board, and as such NPC makes sure to avoid all social media where the trust and safety council flags something as dangerous to think about. He avoids all tweets that are disputed, and only supports mainstream news sources where former CIA, NSA and FBI serve as talking heads.The future is female, orange man bad, black lives matter, and wear a damn mask!
Ah well that would explain everything, obviously had a bad Xmas, did his mother force him to go to midnight Mass again?
My son explained in a clear easily understandable way without all the extraneous bullshit and need to have his ego massaged. He's thinking about writing a Python how-to guide in Japanese for his fellow workers at Softbank.
Last edited by cancel2 2022; 12-29-2020 at 09:15 PM.
this is what your son said:
hmm where have we heard that before
NPC is a beloved internet personality. Their pronouns are he/him. NPC fully recognizes the inherent privilege of being able to post on a message board, and as such NPC makes sure to avoid all social media where the trust and safety council flags something as dangerous to think about. He avoids all tweets that are disputed, and only supports mainstream news sources where former CIA, NSA and FBI serve as talking heads.The future is female, orange man bad, black lives matter, and wear a damn mask!
cancel2 2022 (12-30-2020)
What would the results be?Code:for i in JPPAssholes: print(i)
Bookmarks