Write a Python function to find the factorial of a number using recursion.
Posted: Sep 30, 2025
View Details
How do you reverse a string in Python? Show 3 different methods.
Posted: Sep 30, 2025
View Details
Write a Python program to check if a string is a palindrome.
Posted: Sep 30, 2025
View Details
Explain the difference between `is` and `==` with examples.
Posted: Sep 30, 2025
View Details
How do you handle multiple exceptions in Python? Provide an example.
Posted: Sep 30, 2025
View Details
Write a Python function to find the second largest number in a list.
Posted: Sep 30, 2025
View Details
Explain Python's `*args` and `**kwargs` with a practical example.
Posted: Sep 30, 2025
View Details
Write a Python decorator that measures execution time of a function.
Posted: Sep 30, 2025
View Details
How do you create and use a generator function? Provide an example.
Posted: Sep 30, 2025
View Details
Explain list comprehension vs generator expression with examples.
Posted: Sep 30, 2025
View Details
Write a Python function to count word frequency in a text.
Posted: Sep 30, 2025
View Details
What is the difference between shallow copy and deep copy? Show with code.
Posted: Sep 30, 2025
View Details
Showing 1 to 15 of 221 results