35 lines
385 B
Python
35 lines
385 B
Python
#variables
|
|
|
|
str string "salut" "23" ...
|
|
str(a)
|
|
|
|
char "s" ...
|
|
|
|
int interger -2 , 1 , 34 , 1234 ...
|
|
int(a)
|
|
|
|
float 1.2 , 6.5 , 1/2 ...
|
|
float(a)
|
|
|
|
|
|
#list:
|
|
myVar = [12 , 23 , 45 , 76]
|
|
0 1 2 3
|
|
|
|
myVar[1] => 23
|
|
|
|
|
|
#============================================
|
|
|
|
print()
|
|
|
|
import time # add lib
|
|
|
|
for i in range(delta):
|
|
#code to execute
|
|
|
|
input("donne un chiffre : ")
|
|
|
|
|
|
|