猫史档案馆


大家知道python不可以用那些词不可以做变量吗?

用户:BCM高个子小赵BCM高个子小赵查看:9 回复:12 评论:9 创建时间:2019-03-29T12:53:17


谁不知道啊,print·······emotion_编程猫_搓头

但谁能把所有都说出来呢?

欢迎在帖子下留言

过两天公布答案emotion_雷电猴_捂嘴笑


回复

上一页1 页 / 共 1下一页
BCM高个子小赵BCM高个子小赵

其实有个好办法,在海龟编辑器里就可以解决

点赞0


评论


定位失败的真小号定位失败的真小号

关键词,字符

点赞0


评论


定位失败定位失败

int float print 9 8 75 46 87

点赞0


评论


啊不嘟啊不嘟

不能用系统函数或关键字还有数字开头

点赞0


评论


YBFQ_BetterYBFQ_Better

不能用自带关键字,如“print  input  int  def  import  while”等,开头不能用数字或除了下划线以外的符号。

点赞0


评论


BCM高个子小赵BCM高个子小赵

答案:数字开头(这个打不出来,(*^__^*) 嘻嘻……)还有:

import keyword
print(keyword.kwlist)

 

点赞0


评论


硫酸QwQ硫酸QwQ

False None True and as assert break class continue def del elif else except finally for from global if import in is lambda nonlocal not or pass raise return try while with yield

点赞0


评论


红豆生南国a红豆生南国a

and or print not flaot while for

点赞0


评论


十三月的季节十三月的季节

print,def,set,uincode,import,if,else,elif,while,set等60多个保留字,或开头为数字,包含非法字,再或Flase,True,Null,NaN,undefined等

点赞0


评论


天上的流星_tianqiVirus天上的流星_tianqiVirus

个人观点:自己知道就行了

还有之前赵高的那个,你很棒棒哦(敷衍?)

点赞0


评论


_一堆乱码__一堆乱码_

1 12 123 1234 12345 123456 1234567 12345678 123456789 1234567890

2 23 234 2345 23456 234567 2345678 23456789 234567890

3 34 345 3456 34567 345678 3456789 34567890

4 45 456 4567 45678 456789 4567890

5 56 567 5678 56789 567890

6 67 678 6789 67890

7 78 789 7890

8 89 890

9 90

0

点赞0


评论


小家鼠小家鼠

变颜色的字儿。(除了注释)

点赞0


评论