Skip to content

Commit

Permalink
Update f_strinf
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinsJessica authored Mar 22, 2023
1 parent 9c04d5b commit 9f5d816
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions f_strinf
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,5 @@ idade = int(input("Informe um número:"))

frase =f"{nome} tem {idade} anos. Daqui {100-idade} anos ele fara em 100 anos"
print(frase)

''' Dentro da string, chaves dentro dela uma variável e resolve a questão lá dentro'''

0 comments on commit 9f5d816

Please sign in to comment.