0

Increasing and decreasing numbers

14th May 2019, 3:30 AM
balivada tarun kumar
8 Respuestas
+ 5
Well, if it's raising errors, I could help by showing you how to fix the bugs so that you can still say that you wrote the logic for the code yourself 🤷‍♂️
14th May 2019, 3:41 AM
Faisal
Faisal - avatar
+ 4
Hey balivada tarun kumar ! It's a little difficult to understand what you need help with specifically. Could you try to clarify a bit?
14th May 2019, 3:33 AM
Faisal
Faisal - avatar
+ 4
balivada tarun kumar please post a link to your code 🙂
14th May 2019, 5:57 AM
David Ashton
David Ashton - avatar
+ 3
Do you have any previous attempts at the problem?
14th May 2019, 3:35 AM
Faisal
Faisal - avatar
0
I am giving a value for A =5 then it print as 123454321 like this...
14th May 2019, 3:34 AM
balivada tarun kumar
0
ha but it gives some errors so plzz send me the logic
14th May 2019, 3:39 AM
balivada tarun kumar
0
print(' '.join([str(i) for i in [*range(1,6), *range(4,0,-1)]])) Good luck🙂😁😉
14th May 2019, 7:13 AM
Trigger
Trigger - avatar
0
On a more serious note, you should really post your own attempt at it, then we might be able to help you
14th May 2019, 7:16 AM
Trigger
Trigger - avatar