This commit is contained in:
2025-07-03 21:46:54 +08:00
parent bae5c02a0c
commit f4154b3a1c
2 changed files with 7 additions and 2 deletions

View File

@ -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
View File

@ -0,0 +1,6 @@
a = input("").split()
for i in a:
if i.isdigit():
print(i*2)
else:
print(i)