08 May Tuesday Python Homework 18:30 – 22.05.03.
Question: (We did this question before, but please use set we learned from class to solve the question this time.)
Use input() to take 10 input from user, each item is separated by space. Then try to complete the following task:
- Create a list from the input
- Delete all repeated elements of the list.
Sample Input 1: 1 2 3 2 1 3 98 98 67 Sample Output 1: 1,2,3,98,67
Sample Input 2: Kevin Jack Kevin Jack Kevin Jack Kevin Kevin Jack Jack Sample Output 2: Kevin,Jack
Sorry, the comment form is closed at this time.