write a python program to take three name as input from the user store this names in a list. shift the three names to a single variable and delete the list.
Answers
Answered by
2
Answer:
We often encounter a situation when we need to take number/string as input from the user. In this article, we will see how to get as input a list from the user.
Explanation:
Input : n = 4, ele = 1234
Output: [1, 2, 3, 4]
Input : n = 6, ele = 341796
Output: [3, 4, 1, 7, 9, 6]
As per me this is the right answer
Similar questions