Improve your Python skills by tackling a variety of challenges designed to test your understanding of the language. From basic syntax to advanced concepts , each problem is carefully crafted to help you master Python.
Author - Pabitra Kumar Sahoo
Basic to Intermediate level
Get acquainted with Python and set up the development environment.
Here the questions you can practice1. Write a Python program to calculate the area of a rectangle given its length and width.
2. Create a program that takes a user's name and age as input and prints a greeting message.
3. Write a program to check if a number is even or odd.
4. Given a list of numbers, find the maximum and minimum values.
5. Create a Python function to check if a given string is a palindrome.
6. Calculate the compound interest for a given principal amount, interest rate, and time period.
7. Write a program that converts a given number of days into years, weeks, and days.
8. Given a list of integers, find the sum of all positive numbers.
9. Create a program that takes a sentence as input and counts the number of words in it.
10. Implement a program that swaps the values of two variables.
11. Implement a program that swaps the values of two variables without using third variable.
The codes are in the Introduction_To_Python folder.
Check it!!