Question: 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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!