Day_2 python basics

Insert picture description here
(1)
(5+10 x)/5-13 (y-1) (a+b)/x+9 (5/x+(12+x)/y)
[Due to display problems, "*" cannot be displayed ]

(2)
print(‘please enter your monthly salary’)
a=int(input())
b=a*12
print(‘your yearly income is’,b)

(3)
a='Love you a hundred times'
print(a*100)

(4)
a=“sxt”*4
a[0:12:3]

(5)
True "Yes" " " starts the string resident mechanism
False ""No
""

(6) The
name is Gao Qi and the age is 19

Guess you like

Origin blog.csdn.net/tjjyqing/article/details/113068278