Create 2 - First, Second, Third.py
This commit is contained in:
parent
9bfcec8b1e
commit
78849c156a
5
9/2 - First, Second, Third.py
Normal file
5
9/2 - First, Second, Third.py
Normal file
@ -0,0 +1,5 @@
|
||||
x = int(input())
|
||||
if x == 1: print("1st")
|
||||
elif x == 2: print("2nd")
|
||||
elif x == 3: print("3rd")
|
||||
else: print(str(x) + "th")
|
Loading…
Reference in New Issue
Block a user