The Matrix error [on hold]
As a beginning project I am making The Matrix as shown on the computer screens. However, if I run it once, it works fine. The second time around, random as in random.randint becomes a syntax error. Any ideas?
import random
count = 1
while (count < 2):
print random.randint(0,10000000)
python-2.x
New contributor
user188736 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
put on hold as off-topic by Jamal♦ 18 mins ago
This question appears to be off-topic. The users who voted to close gave this specific reason:
- "Code not implemented or not working as intended: Code Review is a community where programmers peer-review your working code to address issues such as security, maintainability, performance, and scalability. We require that the code be working correctly, to the best of the author's knowledge, before proceeding with a review." – Jamal
If this question can be reworded to fit the rules in the help center, please edit the question.
add a comment |
As a beginning project I am making The Matrix as shown on the computer screens. However, if I run it once, it works fine. The second time around, random as in random.randint becomes a syntax error. Any ideas?
import random
count = 1
while (count < 2):
print random.randint(0,10000000)
python-2.x
New contributor
user188736 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
put on hold as off-topic by Jamal♦ 18 mins ago
This question appears to be off-topic. The users who voted to close gave this specific reason:
- "Code not implemented or not working as intended: Code Review is a community where programmers peer-review your working code to address issues such as security, maintainability, performance, and scalability. We require that the code be working correctly, to the best of the author's knowledge, before proceeding with a review." – Jamal
If this question can be reworded to fit the rules in the help center, please edit the question.
Unfortunately this question is on the wrong site. For code that is not working, please post to StackOverflow.
– Reinderien
23 mins ago
add a comment |
As a beginning project I am making The Matrix as shown on the computer screens. However, if I run it once, it works fine. The second time around, random as in random.randint becomes a syntax error. Any ideas?
import random
count = 1
while (count < 2):
print random.randint(0,10000000)
python-2.x
New contributor
user188736 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
As a beginning project I am making The Matrix as shown on the computer screens. However, if I run it once, it works fine. The second time around, random as in random.randint becomes a syntax error. Any ideas?
import random
count = 1
while (count < 2):
print random.randint(0,10000000)
python-2.x
python-2.x
New contributor
user188736 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
user188736 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
user188736 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
asked 25 mins ago
user188736
1
1
New contributor
user188736 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
user188736 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
user188736 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
put on hold as off-topic by Jamal♦ 18 mins ago
This question appears to be off-topic. The users who voted to close gave this specific reason:
- "Code not implemented or not working as intended: Code Review is a community where programmers peer-review your working code to address issues such as security, maintainability, performance, and scalability. We require that the code be working correctly, to the best of the author's knowledge, before proceeding with a review." – Jamal
If this question can be reworded to fit the rules in the help center, please edit the question.
put on hold as off-topic by Jamal♦ 18 mins ago
This question appears to be off-topic. The users who voted to close gave this specific reason:
- "Code not implemented or not working as intended: Code Review is a community where programmers peer-review your working code to address issues such as security, maintainability, performance, and scalability. We require that the code be working correctly, to the best of the author's knowledge, before proceeding with a review." – Jamal
If this question can be reworded to fit the rules in the help center, please edit the question.
Unfortunately this question is on the wrong site. For code that is not working, please post to StackOverflow.
– Reinderien
23 mins ago
add a comment |
Unfortunately this question is on the wrong site. For code that is not working, please post to StackOverflow.
– Reinderien
23 mins ago
Unfortunately this question is on the wrong site. For code that is not working, please post to StackOverflow.
– Reinderien
23 mins ago
Unfortunately this question is on the wrong site. For code that is not working, please post to StackOverflow.
– Reinderien
23 mins ago
add a comment |
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Unfortunately this question is on the wrong site. For code that is not working, please post to StackOverflow.
– Reinderien
23 mins ago