print('I love {} for "{}!"'.format('Geeks', 'Geeks'))
print('{:0.3f} {:0.3f}'.format(y, z))
print(f'I love {Geeks} from {Portal}')
print('{:0.3f} {:0.3f}'.format(y, z))
my_var = "world"
print(f"hello {my_var}")
# hello world
>>> year = 2016
>>> event = 'Referendum'
>>> f'Results of the {year} {event}'
# 'Results of the 2016 Referendum'