-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path1016.py
38 lines (36 loc) · 922 Bytes
/
1016.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
##
##print(type(6))
##class MyFirstClass:
## pass
##myFirstClass = MyFirstClass()
##print(myFirstClass)
import sys
##sys.path.append("E:\\pythonSep2018")
##import oop1016
##printName = oop1016.MyFirstClass()
####printName._printName()
##
##print(printName._name)
##printName._init_('new name???')
##
##import importlib
##importlib.reload(oop1016)
sys.path.append("E:\\pythonSep2018")
import oop1016
##myCar = oop1016.Car()
##myCar.accelerate(1, 5)
from random import randint
##myCar.refuel(randint(0,90))
##myCar.addTirePressure(randint(0,40))
blueCar = oop1016.BlueCar()
redCar = oop1016.RedCar()
##x = [i * 2 for i in range(5) if i == 4]
##[i for i in x if i % 2 == 0]
##weather_today = ("sunny", 23)
##5 in [1,2,5,6]
##a = 1
##print('sdaf') if a == 1 else print('ddddd')
##print(range(2,6).count(5))
##import subprocess
##with open('path') as f:
## sth = csv.reader(f)