yes i am a noob. anywayas this is for a class i will be taking next quarter but i am doing it now for various reasons.
this is it
Write a program that asks the user to enter a list, and which then outputs
the reverse of the list. Here is an example:
Please enter a list: [4,5,6]
The reverse of [4,5,6] is [6,5,4]
Hint: You can assume that the user enters a correct list of integers. Note that such a list starts with
[ and ends with ], i.e., both need to be entered by the user. Use a for loop and the + operation to
concatenate lists and list elements.
i am lost so badly at the moment and i really need help. anyone help please?
thanks. or at least a little budge will help.
this is it
Write a program that asks the user to enter a list, and which then outputs
the reverse of the list. Here is an example:
Please enter a list: [4,5,6]
The reverse of [4,5,6] is [6,5,4]
Hint: You can assume that the user enters a correct list of integers. Note that such a list starts with
[ and ends with ], i.e., both need to be entered by the user. Use a for loop and the + operation to
concatenate lists and list elements.
i am lost so badly at the moment and i really need help. anyone help please?
thanks. or at least a little budge will help.