first push
This commit is contained in:
34
101.py
Normal file
34
101.py
Normal file
@@ -0,0 +1,34 @@
|
||||
#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 : ")
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user