fp=open('C:\\Users\\Administrator\\Desktop\\python\\text.txt','a') person=fp.write('nam...
![240](https://cdn2.jianshu.io/assets/default_avatar/9-cceda3cf5072bcdd77e8ca4f21c40998.jpg?imageMogr2/auto-orient/strip|imageView2/1/w/240/h/240)
IP屬地:上海
fp=open('C:\\Users\\Administrator\\Desktop\\python\\text.txt','a') person=fp.write('nam...
importjson dict_a={} dict_b={} dict_a={'a1':'b1','a2':'b2','a3':'b3'} ks=dict_a.keys() ...
list1 = ['life','is','short'] list2 = ['you','need','python'] print(list2[2]) list1.app...
a='I ' b='like ' c='python' print(a+b+c) s=' sdghHhf ' s1=s.strip() print(s1) s2=s1.upp...
a=10 b=3 c=a/b-a print(c,type(c)) c = a/b * a print(c,type(c)) c =0.1* a//b - a print(c...