 About a answer | SoloLearn: Learn to code for FREE!

-9

how can to solve that x=10 y=20 if x > y _? else please reply me

+20

If it helps, https://code.sololearn.com/cewUosO416Vb/?ref=app

+15

If you're asking for this, The blank should be replaced by a : (colon)

+15

What's the question? Can you elaborate please?

+15

There should be : after else

+4

The ans is x = 10 y = 20 if x > y: print("if statement") else: print("else statement")

+3

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.

+3

x = 10 y = 20 if x > y print(x) else print(y) // I can still be wrong in guessing your question.

+1

x = 10 y = 20 if x > y : print("if statement") else: print("else statement")

0

0

fill in the blanks to compare the variables and output the corresponding text x=10 y=20 if x > y _ else

0

http://i.imgur.com/hDMBwku.jpg http://i.imgur.com/kgMHcJ4.jpg see and you

0

that's crazy maybe is bug dunno http://i.imgur.com/aEtuRSM.jpg see and you

0

thanks guys I want to learn language good and and I want to be a good programmer

0

x = 10 y = 20 if x > y: print(x) else : print(y)

0

0

x=10 y=20 ix>y print("if statment") else print("statment")

0

x = 10 y = 20 If x > y: print("if statement") else: print("else statement") This is the correct answer