摘要:
电报,电脑的传输,存储都是01010101 最早的'密码本' ascii 涵盖了英文字母大小写,特殊字符,数字。01010101ascii 只能表示256种可能,太少,创办了万国码 unicode 16表示一个字符不行,32位表示一个字符。 A 010000010100000101000001010 阅读全文
摘要:
username = input("输入名字") userword = int(input("输入密码")) i=1 while i<=3: if username = '你好' and userword = 123: print("登录成功") else: print("登录失败") i++ 阅读全文
摘要:
count=1 middle=1 while count<=100: if count%2==0: middle=-1 else: middle=1 count++ sum+=(middle*count) print(sum) 阅读全文
摘要:
count=1 sum=0 while count<=100: sum+=count count+=2 print(sum) 阅读全文
摘要:
count = 1 sum = 0 while count<=100: sum+=count print(sum) 阅读全文
摘要:
count = 0 while count<=10: count++ if count == 7: continue print(count) 阅读全文
摘要:
1,计算机基础。 cpu:相当于人的大脑,用于计算。 内存:储存数据,4G,8G,16G,32G,成本高,断电即消失。 硬盘:1T,固态硬盘,机械硬盘,储存数据,应该长久保持数据,重要文件,小电影等等。 操作系统: 应用程序: 2,python历史。 宏观上:python2 与 python3 区别 阅读全文