Replies: 1 comment
-
hi,@Jennyhua8 这个问题不符合我们的提问规范,我们无法提供对应的帮助,在提问之前请仔细阅读提问规则 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
ame = input("你的名字:")
print("Your name is", name, "Cheers")
x = input("输入一个数字:")
x = int(x) # 类型转换,将字符串转化为数字
#x = int(input("输入一个数字:"))
print(x, "的一半等于", x/2) # 对味啦
Beta Was this translation helpful? Give feedback.
All reactions