博客园 - lsw()
uuid:24b78886-0ed1-41c2-8670-e3f31dcf42c4;id=15237
2022-06-14T02:18:36Z
lsw()
https://www.cnblogs.com/lswyyds/
feed.cnblogs.com
https://www.cnblogs.com/lswyyds/p/16373632.html
实验八 - lsw()
1 from turtle import * 2 def square(size=50,rgb='yellow'): 3 pencolor(rgb) 4 for i in range(4): 5 fd(size) 6 left(90) 7 setup(800,600) 8 speed(0) 9 n=
2022-06-14T02:19:00Z
2022-06-14T02:19:00Z
lsw()
https://www.cnblogs.com/lswyyds/
【摘要】1 from turtle import * 2 def square(size=50,rgb='yellow'): 3 pencolor(rgb) 4 for i in range(4): 5 fd(size) 6 left(90) 7 setup(800,600) 8 speed(0) 9 n= <a href="https://www.cnblogs.com/lswyyds/p/16373632.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/lswyyds/p/16351858.html
实验七 - lsw()
1 class User: 2 def __init__(self, name, password='111111', status='1'): # 构造新账户 3 self.name = name 4 self.password = password 5 self.status = status
2022-06-07T07:07:00Z
2022-06-07T07:07:00Z
lsw()
https://www.cnblogs.com/lswyyds/
【摘要】1 class User: 2 def __init__(self, name, password='111111', status='1'): # 构造新账户 3 self.name = name 4 self.password = password 5 self.status = status <a href="https://www.cnblogs.com/lswyyds/p/16351858.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/lswyyds/p/16285555.html
实验六 - lsw()
3-1 1 def is_valid(x): 2 data=x 3 if len(data)!=18: 4 print(False) 5 else: 6 if ord(data[-1])==88 or 48<=ord(data[-1])<=57 : 7 print(True) 8 else: 9 p
2022-05-18T09:25:00Z
2022-05-18T09:25:00Z
lsw()
https://www.cnblogs.com/lswyyds/
【摘要】3-1 1 def is_valid(x): 2 data=x 3 if len(data)!=18: 4 print(False) 5 else: 6 if ord(data[-1])==88 or 48<=ord(data[-1])<=57 : 7 print(True) 8 else: 9 p <a href="https://www.cnblogs.com/lswyyds/p/16285555.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/lswyyds/p/16273371.html
实验五 - lsw()
1 1 with open('data3.txt','r',encoding='utf-8') as f : 2 with open('data3_processed.txt', 'w', encoding='utf-8') as f1: 3 data=f.read().strip().split(
2022-05-15T07:39:00Z
2022-05-15T07:39:00Z
lsw()
https://www.cnblogs.com/lswyyds/
【摘要】1 1 with open('data3.txt','r',encoding='utf-8') as f : 2 with open('data3_processed.txt', 'w', encoding='utf-8') as f1: 3 data=f.read().strip().split( <a href="https://www.cnblogs.com/lswyyds/p/16273371.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/lswyyds/p/16253765.html
试验任务4 - lsw()
print(sum) sum=42 print(sum) def inc(n): sum=n+1 print(sum) return sum sum=inc(7) +inc(7) print(sum) 2 def func1(a, b, c, d, e, f): '''返回参数a,b,c,d,e,f
2022-05-10T07:21:00Z
2022-05-10T07:21:00Z
lsw()
https://www.cnblogs.com/lswyyds/
【摘要】print(sum) sum=42 print(sum) def inc(n): sum=n+1 print(sum) return sum sum=inc(7) +inc(7) print(sum) 2 def func1(a, b, c, d, e, f): '''返回参数a,b,c,d,e,f <a href="https://www.cnblogs.com/lswyyds/p/16253765.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/lswyyds/p/16181951.html
试验任务3 - lsw()
1, 问题1:范围是1到100闭区间,可以去取到100. 问题2:第一个范围是0到4闭区间,不能取到五,第二个范围1到4闭区间,不能取到五 问题3:不一定,random函数可能取重复值 问题四:一定 2. datas = {'2049777001': ['篮球', '羽毛球', '美食', '漫画'
2022-04-23T03:33:00Z
2022-04-23T03:33:00Z
lsw()
https://www.cnblogs.com/lswyyds/
【摘要】1, 问题1:范围是1到100闭区间,可以去取到100. 问题2:第一个范围是0到4闭区间,不能取到五,第二个范围1到4闭区间,不能取到五 问题3:不一定,random函数可能取重复值 问题四:一定 2. datas = {'2049777001': ['篮球', '羽毛球', '美食', '漫画' <a href="https://www.cnblogs.com/lswyyds/p/16181951.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/lswyyds/p/16127006.html
实验2 - lsw()
1 x = list(range(10)) 2 print('整数输出1: ', end = '') 3 4 for i in x: 5 print(f'{i:02d}', end = '-') 6 7 print('\n整数输出3: ', end = '') 8 for i in x[:-1]:
2022-04-10T10:30:00Z
2022-04-10T10:30:00Z
lsw()
https://www.cnblogs.com/lswyyds/
【摘要】1 x = list(range(10)) 2 print('整数输出1: ', end = '') 3 4 for i in x: 5 print(f'{i:02d}', end = '-') 6 7 print('\n整数输出3: ', end = '') 8 for i in x[:-1]: <a href="https://www.cnblogs.com/lswyyds/p/16127006.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/lswyyds/p/16064532.html
实验1 - lsw()
task1-1 1 P=1.038 2 c=3.7 3 K=5.4*10**(-3) 4 M=67 5 Tw=100 6 Ty=70 7 T0=eval(input('输入放入水之前蛋的原始温度:')) 8 from math import log 9 from math import pi 10
2022-03-27T13:16:00Z
2022-03-27T13:16:00Z
lsw()
https://www.cnblogs.com/lswyyds/
【摘要】task1-1 1 P=1.038 2 c=3.7 3 K=5.4*10**(-3) 4 M=67 5 Tw=100 6 Ty=70 7 T0=eval(input('输入放入水之前蛋的原始温度:')) 8 from math import log 9 from math import pi 10 <a href="https://www.cnblogs.com/lswyyds/p/16064532.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/lswyyds/p/16045275.html
实验1 python开发环境使用和编程初体验 - lsw()
1 print("hi,python,I'm trying") 2 3 a,b=eval(input('Enter two numbers:')) 4 print(f'a={a},b={b}')
2022-03-23T08:38:00Z
2022-03-23T08:38:00Z
lsw()
https://www.cnblogs.com/lswyyds/
【摘要】1 print("hi,python,I'm trying") 2 3 a,b=eval(input('Enter two numbers:')) 4 print(f'a={a},b={b}') <a href="https://www.cnblogs.com/lswyyds/p/16045275.html" target="_blank">阅读全文</a>