Python Forum

Full Version: [split] I need help making a four digit code cracker with random
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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
Can you elaborate more? This sounds like homework, and knowing the real prompt might really help us to help you without spoiling the problem.