whats the anwser | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

whats the anwser

Fill in the blanks to compare the variables and output the corresponding text: x = 10 y = 20 x > y print("if statement") print("else statement")

27th Nov 2019, 11:55 AM
Nicole Martin
Nicole Martin - avatar
2 Answers
+ 7
Nicole Martin complete the basic python course and if else statements there you can find the answer. """In C language x = 10; y = 20; if(x>y){ printf("if statement"); } else { printf ("else statement"); } """ #In python :- x = 10 y = 20 if(x>y): print ("if statement") else: print ("else statement") https://www.sololearn.com/learn/Python/2277/?ref=app
27th Nov 2019, 12:00 PM
GAWEN STEASY
GAWEN STEASY - avatar
0
Int x,y; X=10; Y=20; If(x>y) { system.out.print(x); } Else {Syatem.out.print(y); }
27th Nov 2019, 10:29 PM
Ahmed Mohamoud Good
Ahmed Mohamoud Good - avatar