how can to solve that x=10 y=20 if x > y _? else please reply me
4/1/2017 1:48:42 PM
Oresths Psilos28 Answers
New AnswerThe ans is x = 10 y = 20 if x > y: print("if statement") else: print("else statement")
x > y ? x : y if this is the question then here "?" and ":" are called Ternary operator. You can think "?" as if statement and ":" as else statement. Reply me if I got your question right. Then others can give better answer.
x = 10 y = 20 if x > y print(x) else print(y) // I can still be wrong in guessing your question.
fill in the blanks to compare the variables and output the corresponding text x=10 y=20 if x > y _ else
x = 10 y = 20 If x > y: print("if statement") else: print("else statement") This is the correct answer
Learn Playing. Play Learning
SoloLearn Inc.
4 Embarcadero Center, Suite 1455Send us a message