Y
Y
yll32013-12-14 12:16:30
Programming
yll3, 2013-12-14 12:16:30

Numbers in reverse order

Enter n numbers. Write a program that prints given numbers in reverse order.

Answer the question

In order to leave comments, you need to log in

4 answer(s)
S
Steely, 2013-12-14
@Steely

We need to open a branch of the exam here

V
VeMax, 2013-12-14
@VeMax

What specialty are you studying?

G
gro, 2013-12-14
@gro

Okay, let's get started!

A
Alexey, 2013-12-16
@ZeLib0ba

@yll3 in python (don't kick, I've been studying for less than a month)

a= input ("введите числа через запятую->>")
s=[]
for i in a:
    if i!=",":
        s.append(i)
s.reverse()
for i in s:
    print (i)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question