Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Python tasks: Create a for loop that prompts the user to enter 3 different items, then appends them to new items list Write a program
- Python tasks:
- Create a for loop that prompts the user to enter 3 different items, then appends them to new items list
- Write a program for removing duplicates from the list, append unique values to new list ex: a=[1,2,1,3,2,4,4,5] new_list=[1,2,3,4,5]
- Write a Python function to print a list where the values are square of numbers
between a and b. ex range(10,30)>>out : 100, 121,144,169,196,225,256.........900
- write function where two strings are given, then remove letters from first string if they are in string2
ex: string1='heyhowareyou' string2='hurray'>>>output: 'eoweo'
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started