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")
3 Réponses
+ 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
0
Int x,y;
X=10;
Y=20;
If(x>y)
{ system.out.print(x);
}
Else
{Syatem.out.print(y);
}