Python Imp 20
Python Imp 20
2
468
10 2 14 16 18
4.Enlist applications for python programming
7. Explain different functions or ways to remove key : value pair from Dictionary
In Python, you can remove a key-value pair from a dictionary using different methods:
1.Using pop(key)
o Removes the key and returns its value.
>>> course [ 1]
19. Write a python program takes in a number and find the sum of digits in a number.
20 .Write a Python program to find the factorial of a number provided by the user