Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions assignment5_if_else.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,9 @@


print("question no 3")
p=int(input("enter age of 1st person "))
q=int(input("enter age of 2nd person "))
r=int(input("enter age of 3rd person "))
p=int(input("Enter age of 1st person "))
q=int(input("Enter age of 2nd person "))
r=int(input("Enter age of 3rd person "))
if (p>q) and (p>r):
print("1st person is oldest")
elif (q>r) and (q>p):
Expand Down