Cetak Dua Nilai Menggunakan F String

#!/usr/bin/python

name = 'Peter'
age = 23

print('%s is %d years old' % (name, age))
print('{} is {} years old'.format(name, age))
print(f'{name} is {age} years old')
Shibendra Bhattacharjee