Skip to content

Commit 0aabd45

Browse files
python program
1 parent fd5f353 commit 0aabd45

File tree

2 files changed

+15
-0
lines changed

2 files changed

+15
-0
lines changed

IfElse.py

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
a=1001
2+
b=1002
3+
4+
if a>b:
5+
print("a is grater")
6+
elif a<b:
7+
print("b is greater")
8+
else:
9+
print("both r equal")
10+
11+
print("a is bigger") if a>b else print("b is bada") if a<b else print("equal")
12+
13+
14+
if a>b:
15+
pass

While.py

Whitespace-only changes.

0 commit comments

Comments
 (0)