0
What's problem?
import random a=5 e=[1,2,3,4,5,6,7,8,9] b=random.choice(int(e)) c=random.choice(int(e)) while : a>= 0 d=input(b,"+",c,"=") if d == b+c print("nice") break else : a = a-1
1 Answer
0
I'm gonna assume you're using python, if so:
while: a >= 0 #Wrong syntax
while a >= 0 : #Correct