Write a Python program to merge two dictionaries and print the resultant dictionary.
Given a list of integers, write a Python program to find the second largest number
without using built-in functions like sorted() or max().
Write a Python function that takes a string and returns the count of uppercase,
lowercase, digits, and special characters in it.
Create a Python program that checks whether a given string is a palindrome (reads
the same backward and forward), ignoring case and spaces.
Write a program to create a nested dictionary to store students’ details (name, roll
number, marks). Write functions to add, update, and retrieve student data.
Write code to flatten a nested list into a single list using iteration (without recursion).
Implement a program to count the frequency of each word in a given sentence and
store it in a dictionary.
Write a Python program to remove duplicate elements from a list while maintaining
the original order.
Given a tuple of integers, write a program to convert it to a list, modify an element,
and convert it back to a tuple.
Write a function that takes a dictionary and returns a sorted list of tuples based on
the dictionary’s values.
Create a program that accepts multiple strings from the user, stores them in a list,
and sorts the list in descending order of string length.
Write a Python program to demonstrate the difference between shallow copy and
deep copy of lists.