Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- x = "c"
- y = "p"
- if ord(x) < ord(y):
- x = x.replace("c", "yay")
- print(x)
- elif x > y :
- print("Nay")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement