会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
刘大个
博客园
首页
新随笔
联系
订阅
管理
2020年1月21日
第5课
摘要: 1a = [43,34,none,"break",12] print(a[0]+a[2]) 2import random a= ["print","input", "while", "if", "else", "break","continue"] while True: index = rando
阅读全文
posted @ 2020-01-21 15:14 刘大个
阅读(90)
评论(0)
推荐(0)
2020年1月19日
第4课
摘要: 1#方法:最高用max # 最低用min print(max(85,95,90,98,92)) print(min(85,95,90,98,92)) 2#这一主题要考察对于文字(字符串)进行拼接理解 #除号反了 3#这题考察运算符号知识 4#while ture的t没大写 5#跟第一题一样 用min
阅读全文
posted @ 2020-01-19 15:31 刘大个
阅读(99)
评论(0)
推荐(0)
第3课
摘要: 1#方法:最高用max # 最低用min print(max(85,95,90,98,92)) print(min(85,95,90,98,92)) 2#这一主题要考察对于文字(字符串)进行拼接理解 #除号反了 3#这题考察运算符号知识 4#while ture的t没大写 5#跟第一题一样 用min
阅读全文
posted @ 2020-01-19 15:30 刘大个
阅读(80)
评论(0)
推荐(0)
第2课
摘要: 1 input("12") print(12) 2print(" 0 ") print(" 000 ") print(" 00000 ") print(" 0000000 ") print(" 00000 ") print(" 000 ") print(" 0 ") 3 while True: co
阅读全文
posted @ 2020-01-19 15:29 刘大个
阅读(98)
评论(0)
推荐(0)
第1课
摘要: A1print("明天"+"大桥下"+"你的好朋友"+"在唱歌") 2print("今年我"+"18岁了") 310-(70-30)= 4str() :转化为文字类型 int() :转化为数字类型 5(15+4)*8= 6print("最大值是?"+str(max(10,50,72,76,87)))
阅读全文
posted @ 2020-01-19 15:28 刘大个
阅读(110)
评论(0)
推荐(0)
公告