A Day Computer Science Mazoor If-Else statement Do Now Due 2:30 PM
A Day Computer Science Mazoor If-Else statement Do Now Due 2:30 PM
IMPORTANT MESSAGE
************************************************
FINAL TERM EXAMINE WILL BE TAKEN IN THREE PARTS BETWEEN (MAY 26 to 28)
PART 1: VOCABULARY TERMS
PART 2: PROGRAMMING CODES
PART 3: MULTIPLE QUESTIONS
************************************************
Q. What is if-else statement?
Notes:
https://www.w3schools.com/python/trypython.asp?filename=demo_if_else
a = 200
b = 333333
if b > a:
print("b is greater than a")
else:
print("a is greater than b")
Ran it.
Output:
IMPORTANT MESSAGE
************************************************
FINAL TERM EXAMINE WILL BE TAKEN IN THREE PARTS BETWEEN (MAY 26 to 28)
PART 1: VOCABULARY TERMS
PART 2: PROGRAMMING CODES
PART 3: MULTIPLE QUESTIONS
************************************************
Q. What is if-else statement?
Notes:
https://www.w3schools.com/python/trypython.asp?filename=demo_if_else
a = 200
b = 333333
if b > a:
print("b is greater than a")
else:
print("a is greater than b")
Ran it.
Output:
b is greater than a
Comments
Post a Comment