声明
提醒⚠️:不喜勿喷!信息及原理来源书本与网络,若有侵权,请私聊作者,本人会删除此文章!
若要调用,请与我联系!
源码
import time
print('请先在心里想一个0~31数')
print('')
time.sleep(3)
print('很好!请将手指放置在此↓,我将与你建立心灵感应')
print(' ____')
print(' / \ ')
print(' \____/')
time.sleep(5)
print('')
print('接下来请看下面5张牌↓')
time.sleep(1)
print('|---------第一张----------|')
print('| 1 3 5 7 |')
print('| |')
print('| 9 11 13 15 |')
print('| |')
print('| 17 19 21 23 |')
print('| |')
print('|25 27 29 31 |')
print('\_________________________/')
print('这一张牌上是否有你想的数?是请回答是,反之则回答否')
a = input()
if a == '是':
The_sum_of_the += 1*1
else:
The_sum_of_the += 0*1
print('好的,请看第二张牌')
time.sleep(1)
print('|---------第二张---------|')
print('| 2 3 6 7 |')
print('| |')
print('| 10 11 14 15|')
print('| |')
print('| 18 19 22 23|')
print('| |')
print('| 26 27 30 31|')
print('\________________________/')
print('这一张牌上是否有你想的数?是请回答是,反之则回答否')
a = input()
if a == '是':
The_sum_of_the += 1*2
else:
The_sum_of_the += 0*2
print('嗯?好了?请看第三张牌')
time.sleep(1)
print('|----------第三张---------|')
print('| 4 5 6 7 |')
print('| |')
print('| 12 13 14 15 |')
print('| |')
print('| 20 21 22 23 |')
print('| |')
print('| 28 29 30 31|')
print('\_________________________/')
print('这一张牌上是否有你想的数?是请回答是,反之则回答否')
a = input()
if a == '是':
The_sum_of_the += 1*4
else:
The_sum_of_the += 0*4
time.sleep(1)
print('OK啊,请看第四张牌')
print('|---------第四张---------|')
print('| 8 9 10 11 |')
print('| |')
print('| 12 13 14 15 |')
print('| |')
print('| 24 25 26 27 |')
print('| |')
print('| 28 29 30 31 |')
print('\________________________/')
print('这一张牌上是否有你想的数?是请回答是,反之则回答否')
a = input()
if a == '是':
The_sum_of_the += 1*8
else:
The_sum_of_the += 0*8
print('这么快?请看第五张牌')
time.sleep(1)
print('|----------第五张----------|')
print('| 16 17 18 19 |')
print('| |')
print('| 20 21 22 23 |')
print('| |')
print('| 24 25 26 27 |')
print('| |')
print('| 28 29 30 31 |')
print('\__________________________/')
print('这一张牌上是否有你想的数?是请回答是,反之则回答否')
a = input()
if a == '是':
The_sum_of_the += 1*16
else:
The_sum_of_the += 0*16
print('嗯······很好!')
print('你心中的数是······')
time.sleep(3)
print(The_sum_of_the)