x=5
y='mango'
f'price of {y} is {x}'
name='Dhoni'
age = 39
print('my name is {1}. age is {0}'.format( age, name))
Watch video Python 039: Fancier Output Formatting (formatted string literals, str.format() ) online without registration, duration hours minute second in high quality. This video was added by user BharatOnlineDS 09 July 2020, don't forget to share it with your friends and acquaintances, it has been viewed on our site 59 once and liked it 3 people.