Strings dinamicos
Aguiart
python
2 months ago
231 B
6
Indexable
nome = 'Carol' hobby = 'ouvir Música' print(f'Olá sou a {nome} e gosto {hobby}') ###################### b = 'ba' parte2 = 'nica' a = 'a' r = 'ri' parte1 = 'eletrô' t = 'te' print(f'{b}{t}{r}{a} {parte1}{parte2}')
Editor is loading...
Leave a Comment