Skip to content

Instantly share code, notes, and snippets.

@JulianaGuama
Created March 25, 2019 03:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save JulianaGuama/58fca89c32b1e6e40bf8aab7f0dcdd40 to your computer and use it in GitHub Desktop.
Save JulianaGuama/58fca89c32b1e6e40bf8aab7f0dcdd40 to your computer and use it in GitHub Desktop.
Variáveis em Python
var = "Hello World" #str
var = True #bool
var = False #bool
var = 4.7 #float
var = 47 #int
var = 65536*65536 #long
var = 3+5j #complex
var = ('text1', 47, 'texto2', 474.7) #tuple
var = ['text1', 47, 'texto2', 474.7] #list
var = {'key1': 47, 'key2': 474.7} #dict
var = {'key1', 47, 'key2', 474.7} #set
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment