小编Owe*_*ers的帖子

这可能是一个微不足道的忽视,刚开始使用python

我为我的人类体育课做了关于肝脏的短文冒险.

链接:http://pastebin.com/QYkn5VuU

#SUPER LIVER ADVENTURE 12!

from sys import exit 
from random import randint 

quips = ["Welcome!",
"have a wonderful day", 
"Livers are cool!", 
"this text was chosen at random", 
"Writen in python", 
"woo, splash text!", 
"Notch loves ez!", 
"Almost dragon free!"]

print quips [randint (0, len(quips) -1)] 

def first_thing () :
    print "You are a liver, congratulations! You should do some liver stuff now."
    print "Here comes some blood, what should you do?"
    filterblood = raw_input …
Run Code Online (Sandbox Code Playgroud)

python if-statement

0
推荐指数
1
解决办法
143
查看次数

标签 统计

if-statement ×1

python ×1