|
发表于 2020-4-17 21:10:19
|
显示全部楼层
本帖最后由 木头坏掉了 于 2020-4-17 21:23 编辑
请回复您的答案^_^
>>>>> 问答题 <<<<<
第 0 题的答案是:第一个是一问一答,第二个是自己来编辑
第 1 题的答案是:int()
第 2 题的答案是:不一样,Print()执行不了
第 3 题的答案是:__build_class__', '__debug__', '__doc__', '__import__', '__loader__', '__name__', '__package__', '__spec__', 'abs', 'all', 'any', 'ascii', 'bin', 'bool', 'breakpoint', 'bytearray', 'bytes', 'callable', 'chr', 'classmethod', 'compile', 'complex', 'copyright', 'credits', 'delattr', 'dict', 'dir', 'divmod', 'enumerate', 'eval', 'exec', 'exit', 'filter', 'float', 'format', 'frozenset', 'getattr', 'globals', 'hasattr', 'hash', 'help', 'hex', 'id', 'input', 'int', 'isinstance', 'issubclass', 'iter', 'len', 'license', 'list', 'locals', 'map', 'max', 'memoryview', 'min', 'next', 'object', 'oct', 'open', 'ord', 'pow', 'print', 'property', 'quit', 'range', 'repr', 'reversed', 'round', 'set', 'setattr', 'slice', 'sorted', 'staticmethod', 'str', 'sum', 'super', 'tuple', 'type', 'vars', 'zip'
数不清了QAQ
第 4 题的答案是:QAQ不知道了
第 5 题的答案是:=是代表赋值,==代表判断是否
>>>>> 动动手 <<<<<
请将第 0 题的代码写在下方:31536000
请将第 1 题的代码写在下方:
"""来吧,让我来瞅瞅你的成绩"""
temp = input("这次的数学成绩是多少:")
result = int(temp)
if result == 100:
print("好棒,你离女神又近了一步^_^")
else:
print("小子,想要幸福,就得努力!")
print("游戏结束,不玩啦++") |
|