画矩形 height,width,c,d input().split()
height,width,d int(height),int(width),int(d)
lis [c * width if d else c * (width - 2) c for i in range(height) ]lis:
#####
# #
# #
#####
或
# #
# #
# #
# #if not d:print(c * width)for i in lis[1:-1…
第二讲
视频标准库源码版本:gnu c 2.9.1/4.9/Visual C
OOP vs GP
GP是将datas与methods分开,OOP相反;
为什么list不能使用全局的sort? 因为sort源代码: *(first (last - first)/2)
// 此迭代器只能是随机访问迭代…