摘要: 1.值相等id不一定相等的实例? 答:name = 123 age = 123 通过print(name is age)和print(name == age)判断的得到,值相等id不一定相等。 2.什么时候变量名赋值?就是当你敲第一行代码的时候input类型还是print类型?很混乱 答:input 阅读全文
posted @ 2021-06-06 19:50 点滴180 阅读(73) 评论(0) 推荐(0)
摘要: 1(continue)count = 1while count < 11: if count == 7: continue print(count) count +=1print('ayi')2(break) count = 1while count < 11: if count == 7: bre 阅读全文
posted @ 2021-06-06 15:37 点滴180 阅读(199) 评论(0) 推荐(0)