- 博客(3)
- 收藏
- 关注
原创 哪位会django的大佬看一下
** 求解答!!! ** django中为什么同一个页面有一个url访问可以正确显示出内容,而多加一个url再去访问该页面时内容就显示不出了啊? 检查代码又都是正确的,就是内容不显示。 哪位大佬知道,我快被这个问题搞裂开了!!! ...
2021-01-14 20:24:46 78
原创 Python打印九九乘法表
python超简单打印出九九乘法表 row = 1 while row <= 9: col = 1 while col <= row: result = col * row print('%d*%d = %d\t ' % (col,row,result),end='') col += 1 print('') row +=1
2020-05-31 11:43:40 215
原创 Python3石头剪刀布小游戏
一个简单的python石头剪刀布小游戏 import random import time while True: player = input(‘请输入要出的拳 石头/剪刀/布:’) if player not in [‘石头’,‘剪刀’,‘布’]: print(‘请输入正确的手势’) continue computer = random.choice([‘布’,‘石头’,‘剪刀’]) print(‘玩家出的拳是: %s’ % player) print(‘电脑出的拳是: %s’ % computer)
2020-05-30 11:03:02 275
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人