Coding Problems
Print Hello World
EasyWrite a program to print "Hello, World!" to the output.
Sum of Two Numbers
EasyWrite a program that takes two integers as input and prints their sum.
Even or Odd
EasyWrite a program to check if a given number is even or odd.
Area of a Circle
EasyGiven the radius, calculate the area of a circle (use π = 3.14).
Dictionary Key-Value Swap
MediumSwap keys and values in a dictionary.
Sum Until Zero
MediumKeep taking input numbers until 0 is entered, then return the sum.
Remove Duplicates Using Set
MediumRemove duplicates from a list using a set.
Frequency of Elements
MediumFind the frequency of each element in a list.
Write a function to check if string is palindrome
Calculate sum of first n natural numbers using recursion