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

-5

About a answer

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

4/1/2017 1:48:42 PM

Oresths Psilos

30 Answers

New Answer

+21

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

+14

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

+14

What's the question? Can you elaborate please?

+14

There should be : after else

+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

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

+1

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

0

can you help me ?

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

if, : , else: ,

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")

0

0