Question: in-lab assignment # 6 Topics: Lists, Tuples, Dictionaries Problem Statements: Due: In-Lab I. Write a program which accepts a sequence of comma-separated numbers from console
in-lab assignment # 6 Topics: Lists, Tuples, Dictionaries Problem Statements: Due: In-Lab I. Write a program which accepts a sequence of comma-separated numbers from console and generate a list and a tuple from them. Enter Values: 2,4,68,9,5,2 List: ['2:4, 68952 Tuple: (2".468.9.5.2) Write a Python script to print a dictionary where the keys are numbers between 1 and 15 (both included) and the values are square of keys 2. 3. Write a Python program to add a key to a dictionary 4. Write a program, which will find all such numbers between 1000 and 3000 (both included) such that each digit of the number is an even number
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
