Commit 49a2b8a3 by BellCodeEditor

auto save

parent 54f0463b
Showing with 28 additions and 8 deletions
# i = input('请输入要判断的年份:')
# i = int(i)
# if i%4==0 and i%100!=0:
# print('是闰年')
# else:
# print('不是闰年')
\ No newline at end of file
str= '我想要你们进行一今@#%¥&*!天非要算要社会王练打字快习惨败的文案是的字的方法解释无用密秘哈哈!'
name=' '
num=0
for i in str:
if num %4 ==0 and i!='@' and i!='¥':
name+=i
num+=1
print(name)
# x = 1
# y = int(input("请输入要计算的数:"))
# for i in range(1, y + 1):
# x = x * i
# print('结果是:' + str(x))
\ No newline at end of file
# s = input('请输入要判断的数:')
# s = int(s)
# if s>1:
# for i in range(2,s):
# if s%i==0:
# print('不是质数')
# break
# else:
# print('是质数')
# else:
# print('不是质数')
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