The Matrix error [closed]
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
closed as off-topic by Jamal♦ Dec 23 at 2:32
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
closed as off-topic by Jamal♦ Dec 23 at 2:32
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
Dec 23 at 2:27
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
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
New contributor
New contributor
asked Dec 23 at 2:25
user188736
1
1
New contributor
New contributor
closed as off-topic by Jamal♦ Dec 23 at 2:32
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.
closed as off-topic by Jamal♦ Dec 23 at 2:32
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
Dec 23 at 2:27
add a comment |
Unfortunately this question is on the wrong site. For code that is not working, please post to StackOverflow.
– Reinderien
Dec 23 at 2:27
Unfortunately this question is on the wrong site. For code that is not working, please post to StackOverflow.
– Reinderien
Dec 23 at 2:27
Unfortunately this question is on the wrong site. For code that is not working, please post to StackOverflow.
– Reinderien
Dec 23 at 2:27
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
Dec 23 at 2:27