Python Fundamentals Coding Practice Problems
Last Updated :
31 Jan, 2025
Improve
Welcome to this article on Python basic problems, featuring essential exercises on coding, number swapping, type conversion, conditional statements, loops and more. These problems help beginners build a strong foundation in Python fundamentals and problem-solving skills. Let’s start coding!
Python Basics Practice Questions
Basic:
- Start Coding - Python
- Learn to Comment - Python
- Print In Python
- Multi Printing
- Int Str
- Input In Python
- Arithmetic Operators
- Logical Operators
- Bitwise Operators
- Type Conversion
- TypeCast And Double It
- The Modulo Task
- Last Digit of a number
- If conditional statement- Python
- Mark Even and Odd - Python
- Check the status - Python
- For loop - Python
- For Loop - 1
- For Loop 2- Python
- While Loop
- While loop in Python
- Jumping through While
- Zero Converter
- Cat and Hat
- The Else Statement
- The FizzBuzz Program
- Even Odd Game
- Odd or Even
- Greatest of Three
- Leap Year
- Calculator
- Multiplication Table
- Sum of Natural Numbers
- Closest Number
- Dice Problem
- Valid Triangle
Easy:
- Swap The Numbers
- Test if tuple is distinct
- Find index
- Day before N days
- Solving queries
- Table Difference
- Print Square wall
- Print Square Wall Using Nested Loops
- Right Angle Trianglee
- Right Angle Triangle 2
- Inverted Right AngleTriangle
- Sum of N Numbers
- Factorial
- Divisor
- Check Prime
- Next Prime Number
- Fibonacci Number
- GCD
- LCM
- Pattern 5
- Pattern 10
- Overlapping Rectangles
- Armstrong Number
- Perfect Number
- Count Set Bits
- Nth Fibonacci Number
Medium:
- Evaluate Formulae
- AP Term
- Geometric Progression
- Celsius to Fahrenheit Conversion
- Sum of AP series
- Adam Number
- LCM And GCD
- Subtract 1 without arithmetic
- Decimal to Binary
- Factorial of a Number
- Check Factorial
- Factorial of Large number
- Count trailing zeroes
- Last Non-Zero digit
- Check Strong Number
- Diamond Shape


