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

23rd May 2018, 6:39 AM
김한결
김한결 - avatar
1 Resposta
0
I'm gonna assume you're using python, if so: while: a >= 0 #Wrong syntax while a >= 0 : #Correct
29th May 2018, 6:54 PM
Alejandro Aristizabal
Alejandro Aristizabal - avatar