0
help level 2 question
what is wrong here num =input ("choose 100") num=int (num) if num<101 : print("less than 101") if num>99: print("number is 100")
5 Answers
+ 1
there seems to be a space between int and bracket and also input and bracket.
0
What do you want the output to be? Do you want both prints to occur?
At the moment, the second if statement is rested inside the first. Is that intentional?
0
i want 100
thx
0
But when I type 100, what do you want it to say?
0
Thanks for the reply James, thankfully i finally managed to find the answer! Took me a while but it was worth it, i can finally meet my family again.