NEEDS TO BE IN PYTHON:
(Print distinct numbers)
Write a program that reads in integers separated by a space inone line and displays distinct numbers in their input order andseparated by exactly one space (i.e., if a number appears multipletimes, it is displayed only once).
Hint: Read all the numbers and store them in list1. Create a newlist list2. Add a number in list1to list2. If the number is alreadyin the list, ignore it.
Sample Run
Enter numbers: 1 2 3 2 1 6 3 4 5 2
The distinct numbers are: 1 2 3 6 4 5
Expert Answer
An answer will be send
PayPal Gateway not configured
PayPal Gateway not configured