Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

1 5 . P = [ 3 , 4 , 5 , 6 , 7 , [ 2 3 , 4 5 6 , 6

15. P =[3,4,5,6,7,[23,456,67,8,78,78],[345,56,87,8,98,9],(234,6657,6),{"key1" :"rgukt" ,234:[23,45,656]}]
Try to reverse a list
try to access 234 out of this list
try to access 456
Try to extract only a list collection form list l
Try to extract "rgukt"
Try to list all the key in dict element available in list
Try to extract all the value element form dict available in list
16.Write a python program to find out common letters between two strings.
17. Write a program for the following requirement?
Input: aaaabbbccz
Output: 4a3b2c1z
18. Write a Python program to check if a Number is Positive, Negative or Zero?
19. How to change the name of key in dictionary
20. How to change the value of any key in nested dictionary
21. How to delete a key from Dictionary
22. What is the output of the below code
s1= 'abc'
s2='123'
print(s1.join(s2))
23. How to concatenate multiple dictionary in one
24.How to sum all elements of Dictionary.
25. How to multiply all elements of dictionary
26.How to sort a dictionary by key
27. How to print Dictionary as table
28. How to remove space between dictionary keys
29 How to remove no value items from Dictionary
30. How to filter dictionary based on value
31. How to check number of keys have same value
32. Count the number of occurrences of each character in a string using a dictionary.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Records And Database Management

Authors: Jeffrey R Stewart Ed D, Judith S Greene, Judith A Hickey

4th Edition

0070614741, 9780070614741

More Books

Students also viewed these Databases questions

Question

6. Do you currently have a team agreement?

Answered: 1 week ago

Question

How do books become world of wonder?

Answered: 1 week ago