The Matrix error [closed]












0














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)









share|improve this question







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.











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
















0














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)









share|improve this question







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.











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














0












0








0







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)









share|improve this question







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






share|improve this question







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.











share|improve this question







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.









share|improve this question




share|improve this question






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 Dec 23 at 2:25









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.




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


















  • 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















active

oldest

votes






















active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes

Popular posts from this blog

Сан-Квентин

8-я гвардейская общевойсковая армия

Алькесар