摘要:
l = ['Michael','Bob','Tracy'] l.append('Bob') l.pop() print(1) t = ('Michael','Bob','Tracy') scores = [85,65,55] d = {'Michael':85,'Bob':65,'Tracy':55 阅读全文
摘要:
id = '511303199807040028'area = id[0:6]birthday = id[6:14]sex = id[-2]print(area,birthday,sex)if (int(sex) % 2 == 0): print('girl')else: print('boy')p 阅读全文
摘要:
9802 ♊9803 ♋9804 ♌9805 ♍9806 ♎9807 ♏9808 ♐9809 ♑9810 ♒9811 ♓ Process finished with exit code 0 阅读全文
摘要:
年级是:2017专业编号是:09090序号是:037省市是:12生日是:1223性别是:1 Process finished with exit code 0 阅读全文
摘要:
import turtleturtle.setup(600,400,0,0)turtle.bgcolor('red')turtle.color('yellow')turtle.fillcolor('yellow')def mygoto(x,y): turtle.penup() turtle.goto 阅读全文
摘要:
import turtle turtle.forward(100) turtle.right(144) turtle.forward(100) turtle.right(144) turtle.forward(100) turtle.right(144) turtle.forward(100) tu 阅读全文
摘要:
mynumber = 6 while True guess = int (input()) if guess > myNumber: print('>') elif guess >> 3>2 True >>> 3>> 3==2 False >>> 32 SyntaxError: invalid syntax >>> 32 SyntaxError:... 阅读全文
摘要:
name1 = input('请输入一个名字:') name2 = input('请输入一个名字:') name3 = input('请输入一个名字:') print('{}旷课刚起床,就遇到了正在巡查的{},于是就被带到了{}办公室'.format(name1,name2,name3)) 阅读全文