I'm trying to print the pattern like a graph in python without using any libraries

for example, we had a sequence like 2,3,5,4,3,2

so pattern to be like

enter image description here

explanation: oddly placed numbers to be in rising and even placed numbers to be FALL

Add Comment
0 Answer(s)

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.