Advertisement
Guest User

Untitled

a guest
Sep 19th, 2019
112
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.43 KB | None | 0 0
  1. types_of_people = 10
  2. x = f"There are {types_of_people} types of people."
  3.  
  4. binary = "binary"
  5. do_not = "don't"
  6. y = f"Those who know {binary} and those who {do_not}."
  7.  
  8. print(x)
  9. print(y)
  10.  
  11. print(f"I said: {x}")
  12. print(f"I also said: {y}")
  13.  
  14. hilarious = False
  15. joke_evaluation = "Isn't that joke so funny?! {}"
  16. print(joke_evaluation.format(hilarious))
  17.  
  18. w = "This is the left side of..."
  19. e = "a string with a right side."
  20.  
  21. print(w + e)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement