0
Why is my "if" being put as incorrect syntax
The if statement in my function is "incorrect syntax". How can this be fixed? The code: https://code.sololearn.com/cXAwoI3IS16N
7 Respostas
+ 2
+ 1
https://code.sololearn.com/c6hnFkh9Tao8/?ref=app
+ 1
No problem Fbia34
0
The code must be like that :
def function():
if random(0, 1)>0:
"your code"
0
Here is your corrected code
0
thank you to Sousou and Théophile PICHARD for the help
0
You're welcome!