Skip to content

Instantly share code, notes, and snippets.

@christiancost47
Last active August 22, 2019 17:59
Show Gist options
  • Save christiancost47/16a251cf98d9c62ebeab9c6bfecc096d to your computer and use it in GitHub Desktop.
Save christiancost47/16a251cf98d9c62ebeab9c6bfecc096d to your computer and use it in GitHub Desktop.
strings_inside_variables
ano = 1991 #Primeira variavel
nome = "Guido Van Rossun" #segunda variavel
print(f"Python foi criado em {ano}, por {nome}") #note o "f" antes de abrir aspas, e os nomes das variaveis dentro da chave
>>>Python foi criado em 1991 por Guido Van Rossun
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment