Home
О нас
Products
Services
Регистрация
Войти
Поиск
deker025
@deker025
April 2022
0
25
Report
Q=int(input())
w=1
a=0
for i in range(1, q):
print(i, end=" ")
print(q)
for i in range(q-1, 0, -1):
print(i, end=" ")
Вывод :
(при q=4)
1 2 3 4
3 2 1
а нужен
1 2 3 4 3 2 1
Please enter comments
Please enter your name.
Please enter the correct email address.
Agree to
terms of service
You must agree before submitting.
Send
More Questions From This User
See All
deker025
August 2022 | 0 Ответы
yunosha i devushka izmerili shagami odno i tozhe rasstoyanie ravnoe 141 m shag devushki
Answer
deker025
July 2022 | 0 Ответы
zapishite v desyatichnom vide a nul celyh pyat desyatyh b shestnadcat celyh tri
Answer
deker025
July 2022 | 0 Ответы
000000 line 11 in n intinputeoferror eof when reading a linezadacha ko
Answer
deker025
July 2022 | 0 Ответы
reshite 20 iz dvuh odinakovyh kubikov slozhili parallelepiped skolko sm3 sostavl
Answer
deker025
April 2022 | 0 Ответы
sochetanie skolko raz vstrechaetsya sochetanie 42 v zapisi chisel ot 1 do 10 000
Answer
deker025
August 2021 | 0 Ответы
imeetsya 9 kg krupy i chashechnye vesy s 1 girej 200g poprobujte v tri priema otves
Answer
×
Report "Q=int(input()) w=1a=0for i in range(1, q): print(i, end=" ") print(q)for i in ..."
Your name
Email
Reason
-Select Reason-
Pornographic
Defamatory
Illegal/Unlawful
Spam
Other Terms Of Service Violation
File a copyright complaint
Description
Helpful Links
О нас
Политика конфиденциальности
Правила и условия
Copyright
Контакты
Helpful Social
Get monthly updates
Submit
Copyright © 2024 SCHOLAR.TIPS - All rights reserved.