提交
This commit is contained in:
@ -33,5 +33,4 @@ shot = ""
|
||||
for i in range(0, length):
|
||||
num = length - i - 1
|
||||
shot += str[num]
|
||||
print(shot)
|
||||
|
||||
print(shot)
|
||||
6
day3/条件控制.py
Normal file
6
day3/条件控制.py
Normal file
@ -0,0 +1,6 @@
|
||||
a = input("").split()
|
||||
for i in a:
|
||||
if i.isdigit():
|
||||
print(i*2)
|
||||
else:
|
||||
print(i)
|
||||
Reference in New Issue
Block a user