Skip to content

Latest commit

 

History

History
12 lines (12 loc) · 179 Bytes

14. Unit 2 - Lesson 1.md

File metadata and controls

12 lines (12 loc) · 179 Bytes

If Statement

Q1. 1,3
Q2.

#Program to illustrate simple if statement
num = int(input("num: "))
if num%3==0:
	print("divisible by 3")
print("End of program")

Q3. 2