Commit 4235a202 by BellCodeEditor

save project

parent 419808c5
name="悟空"
print("name+"欢迎您"")
type(name)
\ No newline at end of file
i = 5 # 行
j = 3 # 列
print(j,"x",i,"=",(j*i))# 使用变量i和j,代替乘法算式里面的元素,打印出单个乘法算式
b=['袁术','夏侯惇','曹操','关羽']
b.
\ No newline at end of file
player=input("玩家出拳")
print("玩家出拳"+player)
import random
list=["石头","剪刀","布"]
computer=random.choice(lits)
print(computer)
if player in list:
if player==computer:
print(平局)
elif (player=="石头"and computer=="剪刀")or(player=="剪刀"and computer=="布")or(player=="布"and computer=="石头")
print(xxx)
else:
print(xxxx)
else
print(xxxx)
\ No newline at end of file
bro1="关羽"
bro2="刘备"
bro3="张飞"
bros=["关羽","刘备","张飞"]
bro1=["关羽",160,8.5]
bro1=["刘备",161,9.1]
bro1=["张飞",166,8.3]
bros=[0]="关羽"
bros=[1]="刘备"
print(bros)
++ "b/\346\230\214\343\200\202"
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