Advertisement
Guest User

Untitled

a guest
Apr 21st, 2019
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.11 KB | None | 0 0
  1. x = "c"
  2. y = "p"
  3. if ord(x) < ord(y):
  4. x = x.replace("c", "yay")
  5. print(x)
  6. elif x > y :
  7. print("Nay")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement