Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- f"My formatting string!"
- >>> name = "George"
- >>> print(f"My cool string is called {name}.")
- My cool string is called George.
- print(f"My cool string is called {name.upper()}.")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement