String Formatting in Python Order Sequence Part 3

preview_player
Показать описание
String Formatting in Python Order Sequence Part 3

Examples:-
name='Wiki'
price='10$'
print('hello {} your item price is {}'.format(name,price))
print('hello {0} your item price is {1}'.format(name,price))
print(f'hello {name} your item price is {price}')
Рекомендации по теме
welcome to shbcf.ru