Using Variables

Run Settings
LanguagePython
Language Version
Run Command
#Create expressions with numbers number_of_applications = 5 + 1 print(number_of_applications) #We can use variables with numbers for calculations,too.We'll see it in action #by adding 1 to number_of_steps. number_of_steps = 100 print("You're on step:") print(number_of_steps + 1) ##Since expressions become values, we can store calculation results in variables, like here where total contains private + public private = 3 publice = 10 total = private + publice print("total posts:") print(total) temperature = "5 * 2" print(temperature)
Editor Settings
Theme
Key bindings
Full width
Lines