Python Programs for Practice

These are the python programs for practice. If you are a beginner, you can start programming with these easy programs in python

Basic Python Programs

  1. Python program hello world
  2. Python program to add two numbers
  3. Python program for Fibonacci series
  4. GCD of two numbers in Python using recursion
  5. Python program to check prime number
  6. Factorial Program in Python
  7. Python program for palindrome
  8. Python program to convert Celsius to Fahrenheit
  9. Python program to check Armstrong number
  10. Python program to reverse a string
  11. Python program to reverse a number
  12. Python program to swap two numbers
  13. Python program to check leap year
  14. Python program for binary search
  15. Python program for simple interest 
  16. Menu-driven program in python 


Python is a very simple language, you can learn this language without making huge efforts. In c and c++ language, you have to write header files and you have to put a semicolon at the end of all the statements.

So, if you find it difficult to learn c and c++ language you can go for python. PUBG, COD, and many other games are also made with the help of the python language. I hope you will like the python language. It is one of the best and easiest languages for programming ever made.


Learn Python Programming For Free

My journey of learning the python language started in 2020, we all are in locked down so I think it is the best time to learn something new.

 I am scrolling through youtube for free resources then I went to code help where Harman Singh is teaching python for free and that course needs no pre-requisite. I learnt the basics from that course.

But for now, I will recommend you to watch Python Tutorial For Beginners In Hindi (With Notes) 🔥. This is the best lecture to learn the basics of python for free. If you want to do a paid course which will provide you certificate 
If you have any doubts related to these programs, please comment below.

Post a Comment