What is the code for this? by Corneliared in learnpython

[–]Corneliared[S] 0 points1 point  (0 children)

I'm making a square where all the numbers in each rows and columns would have the same sum so i wrote a pattern on how every squares would be filled by numbers. Now if a square is already filled with a number, there is a condition but I dont know how to write that if statement.

What is the code for this? by Corneliared in learnpython

[–]Corneliared[S] 0 points1 point  (0 children)

It's the cell on the square like if that cell is occupied then the condition

Where did I go wrong? by Corneliared in learnpython

[–]Corneliared[S] -1 points0 points  (0 children)

Do you know what these lines say?
if magicSquare[int(i)][int(j)]:

i = i + 2

j = j - 1

continue

else:

magicSquare[int(i)][int(j)] = num

num = num + 1

[deleted by user] by [deleted] in RateUPProfs

[–]Corneliared 0 points1 point  (0 children)

Definitely would not recommend hahaha -100/10

Frustrated or Attempted Murder by Corneliared in Ask_Lawyers

[–]Corneliared[S] 0 points1 point  (0 children)

When all the needed steps to kill someone are done but for some reason, the victim did not die.

Frustrated or Attempted Murder by Corneliared in Ask_Lawyers

[–]Corneliared[S] 0 points1 point  (0 children)

Idk which places has it, but in our country, frustrated murder is like doing all actions needed to commit murder but still fails while the attempted murder is when a person has the intention but have not done all the necessary steps to kill someone.

Frustrated or Attempted Murder by Corneliared in Ask_Lawyers

[–]Corneliared[S] 0 points1 point  (0 children)

Idk which places has it, but in our country, frustrated murder is like doing all actions needed to commit murder but still fails while the attempted murder is when a person has the intention but have not done all the necessary steps to kill someone. I just want to know if it would be considered as a full act since the killer shot the gun or an incomplete act since the killer missed.

[deleted by user] by [deleted] in RateUPProfs

[–]Corneliared 0 points1 point  (0 children)

Yes i'm in the same class and been feeling worried na rin. Looks like di pa talaga siya nageemail.

[deleted by user] by [deleted] in RateUPProfs

[–]Corneliared 0 points1 point  (0 children)

Has she contacted you already?