how to use variables

Back to Home

set a variable

                    
myvariable = "hi"
                    
                

the space and "" is needed or it will give you errors

how to make python set a number as a variable

                    
variable = 81
                    
                

so this time you dont need the "" beacuase the "" tells python that it is a string