python学習day 01
3957 ワード
【 】
1.
:
+cpu+
cpu: , (16)
: (8G, 16G, 32G) : DDR3, DDR4, DDR5, ( , )
: 。 (N-GTX 1080 TI, A)。 240 (512MB) 210 105
: 。 。 ,
. 0 1
2. python
.
3.
4. hello world
print(" . ")
5. ( )
;
1. , ,
2. .
3.
4.
5.
6.
7.
8.
: .
6.
1. int . +-*/% // , > < >= <= !=
2. str . ',",''',""" + *
3. bool . True False
7. (input)
=input(" ") , => => int(str)
8. if
if :
. .
if :
1
else:
2
: . 1. , 2.
if 1:
1
elif 2:
2
.....
else:
n
:
【 】
1 '''
2 **************************************************
3 print(" , ")
4 a=1+3
5 b=4*6
6 print(a)
7 print(b)
8 print(a,end=" ")# ,
9 print(b)
10 print("a=",a)
11 s1=" "
12 s2="
"
13 s3=" "
14 print(s1+" "," :"+s2," "+s3+" ?")
15 print(s1*3)#
16 print(s2*3)
17 ***************************************************
18 '''
19 a=input(" :")
20 a=int(a)
21 b=input(" :")
22 b=int(b)
23 print(a+b)