Q1. Write a Python program to calculate the factorial of a non-negative integer ‘n’.
Q2. Write a Python program to check if a given year is a leap year.
Q3. Create a violin plot using Seaborn to visualize the distribution of a numerical variable across different categories from a dataset. (You can use Inbuilt dataset in Python)
Q4. Write a Python program that compares two numbers and prints whether the first number is greater, equal, or less than the second number.
Q5. Write a Python program that checks if two variables refer to the same object in memory.