Python 100 Questions, 100 Python Problems with Solutions for Beginners | Most Common Python Programs for Practice !! BY Rakesh !!

 21. Write a function that checks if a number is a perfect square. 


22. Write a function that checks if a number is an Armstrong number. 


23. Write a function that checks if a string is a valid URL. 

24. Write a function that checks if a number is a power of two. 


25. Write a function that returns the Fibonacci sequence up to a given number. 


26. Write a Python script to concatenate three dictionaries. 


27. Create a dictionary with key as a value as 1; create a new dictionary from this one where the value for a is 100. 


28. Write a Python script to check if a given key already exists in a dictionary. 


29. Write a Python script to iterate over dictionaries using for loops. 


30. Write a Python script to generate and print a dictionary that contains a number (between 1 and n) in the form (x, x*x).

Pagination Example

Post a Comment

Post a Comment (0)