Python Forum
[split] I need help making a four digit code cracker with random - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: Python Coding (https://python-forum.io/forum-7.html)
+--- Forum: General Coding Help (https://python-forum.io/forum-8.html)
+--- Thread: [split] I need help making a four digit code cracker with random (/thread-17012.html)



[split] I need help making a four digit code cracker with random - tycpytyt - Mar-24-2019

hi i need help making a four digit code cracker with random here is my code if you have any idea to help me:
from random import *

code_user = "2344"
print (code)
if code == code_user:
   print ("this is the code! + code_user")
can you help me? Wall


RE: [split] I need help making a four digit code cracker with random - micseydel - Mar-24-2019

Can you elaborate more? This sounds like homework, and knowing the real prompt might really help us to help you without spoiling the problem.