Commit 32417f76 by BellCodeEditor

auto save

parent 85220dba
Showing with 13 additions and 2 deletions
#a=["a","b","c","a"]
#while "a" in a:
#a.remove("a")
#print(a)
...@@ -4,4 +4,4 @@ print("玩家出拳:"+player) ...@@ -4,4 +4,4 @@ print("玩家出拳:"+player)
list=["石头","剪刀","布"] list=["石头","剪刀","布"]
computer =random.choice(list) computer =random.choice(list)
print("电脑出拳:"+computer) print("电脑出拳:"+computer)
\ No newline at end of file \ No newline at end of file
#题1
n=int(input("请输入一个不为0的数"))
while n:
print(n%10)
n=n//10
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment