print f format python 28multiple 29

Solutions on MaxInterview for print f format python 28multiple 29 by the best coders in the world

showing results for - "print f format python 28multiple 29"
Gilda
04 Mar 2020
1>>> name = "Eric"
2>>> profession = "comedian"
3>>> affiliation = "Monty Python"
4>>> message = (
5...     f"Hi {name}. "
6...     f"You are a {profession}. "
7...     f"You were in {affiliation}."
8... )
9>>> message
10'Hi Eric. You are a comedian. You were in Monty Python.'
11
similar questions
queries leading to this page
print f format python 28multiple 29