Write a python program that takes a list and removes the duplicates from the list.

C++ Programming: From Problem Analysis to Program Design
8th Edition
ISBN:9781337102087
Author:D. S. Malik
Publisher:D. S. Malik
Chapter16: Searching, Sorting And Vector Type
Section: Chapter Questions
Problem 1TF
icon
Related questions
Question
Python 4
7- Write a python program that takes a list and removes the duplicates from the list.
8- Write a python program that takes a 5 digit integer number and outputs true if the
number is a palindrome number (i.e if you reverse the number then it will not change)
9- Read about the Set structure in python and write a program to find the union and the
intersection of the following two lists.
Ist1 = [ 4, 9, 1, 17, 11, 26, 28, 28, 26, 66, 91]
Ist2 = [9, 9, 74, 21, 45, 11, 63]
Transcribed Image Text:7- Write a python program that takes a list and removes the duplicates from the list. 8- Write a python program that takes a 5 digit integer number and outputs true if the number is a palindrome number (i.e if you reverse the number then it will not change) 9- Read about the Set structure in python and write a program to find the union and the intersection of the following two lists. Ist1 = [ 4, 9, 1, 17, 11, 26, 28, 28, 26, 66, 91] Ist2 = [9, 9, 74, 21, 45, 11, 63]
Expert Solution
steps

Step by step

Solved in 3 steps with 2 images

Blurred answer
Knowledge Booster
Time complexity
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
C++ Programming: From Problem Analysis to Program…
C++ Programming: From Problem Analysis to Program…
Computer Science
ISBN:
9781337102087
Author:
D. S. Malik
Publisher:
Cengage Learning