The problem is that I have allocated a case number to the user and I want it to print the number given to the user,however it displays 'None'.
Welcome
Your case number is:
8239
Sending data: None
This is the code:
while True:
print('Welcome')
print('Your case number is:')
import random
variable1 = lambda: random.randint(1, 10000)
print(variable1())
state=random.getstate()
print('Sending data:',(random.setstate(state)))
break
Aucun commentaire:
Enregistrer un commentaire