Задача 4
Настало время великих стартов: Tesla улетела на гелиоцентрическую орбиту за Марсом, а вам предстоит отправить ракету с питоном на Сатурн.
Сгенерируйте строку с обратным предстартовым отсчётом.
Она должна выглядеть так:
10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0, поехали!
Это задание очень похоже на пример со считалкой про зайца, этим можно воспользоваться.

countdown_str = ''
for i in reversed(range(0,11)):
countdown_str = countdown_str + str(i)+', '
countdown_str = countdown_str + 'поехали!'
print(countdown_str)
а с чего ты буквы поставил именно в этом порядке?
for i in range(10, -1, -1):
print(i)
------------------------------------------------------
UPD:
a = []
for i in range(10, -1, -1):
a.append(str(i))
print(", ".join(a) + ', поехали!')
cnt_d_s = ''
for i in reversed(range(11)):
cnt_d_s += str(i) + ', '
print(cnt_d_s + 'Поехали!')
countdown_str = '' # Не изменяем строку
for i in reversed(range(0, 11)): # Дописываем i in reversed(range(0, 11)):
countdown_str = countdown_str + str (i) + ', ' # Дописываем + str (i) + ', '
countdown_str = countdown_str + 'поехали!' # Дописываем + 'поехали!'
print(countdown_str) # Не изменяем строку
countdown_str = ' '
for i in reversed(range(0, 11)):
countdown_str = countdown_str + str(i) + ', '
countdown_str = countdown_str + str('поехали!')
print(countdown_str)
# 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0, поехали!
countdown_str = ' '
for i reversed (range (0, 11)):
countdown_str = countdown_str + str(i) + ' ,'
countdown_str = countdown_str + 'поехали!'
print (countdown_str)
Вот каков ответ!
countdown_str = ''
for i in reversed(range(0, 11)):
countdown_str = countdown_str + str(i) + ', '
countdown_str = countdown_str + ''
print(countdown_str + 'поехали!')
countdown_str = ' '
for i in reversed(range(0, 11)):
countdown_str = f'{countdown_str} {i}, '
print(f'{countdown_str} Поехали!')
countdown_str = ''
ma=['1','2','3','4','5','6','7','8','9','10']
for i in reversed(ma):
countdown_str = countdown_str + str(i) + ', '
print(countdown_str + " поехали!")
countdown_str = ''
for i in reversed(range(0, 11)):
countdown_str = countdown_str + str(i) + ', '
countdown_str = countdown_str + 'поехали!'
print(countdown_str)
countdown_str = ''
for i in reversed(range(0, 11)):
countdown_str = countdown_str + str(i)
countdown_str = countdown_str + ', '
print(countdown_str + 'поехали!')
вот точный ответ
countdown_str = ''
for i in reversed(range(0, 11)):
countdown_str = countdown_str + str(i) + ', '
countdown_str = countdown_str + 'поехали!'
print(countdown_str)
вот так
countdown_str = ''
for i in reversed(range(0, 11)):
countdown_str = countdown_str + str(i) + ', '
print(countdown_str + 'поехали!')