adding variables in python code example
Example 1: how to add variables python
x = 5
y = 10
x+y
#result = 15
Example 2: adding variable in python
var = 0
while True:
import time
var = (var + 1)
print(var)
time.sleep (1)
x = 5
y = 10
x+y
#result = 15
var = 0
while True:
import time
var = (var + 1)
print(var)
time.sleep (1)