Skip to content
No results
  • About AskPython
  • Blog
  • Contact Me
  • Home
  • Meet the Team
  • Privacy Policy
  • Python
  • Python Course for Beginners Online FREE
  • Python Tutorial – Mega Index
  • Terms and Conditions
  • Home
  • Blog
  • About AskPython
  • Python Course
  • Start Here

Python Course – if-else statement

  • Pankaj KumarPankaj Kumar
  • June 21, 2021
  • Course

In Python decisions are made with if statements also called as selection statement. The if block statements are executed if the conditions are ‘true’. In case of false condition, the else block is executed.

Pankaj Kumar
Pankaj Kumar

I have been working on Python programming for more than 12 years. At AskPython, I share my learning on Python with other fellow developers.

Articles: 211
Previous Post Python Course - for loop
Next Post Python Course - while loop
No results

Recent Posts

  • Python SciPy Tutorial: Complete Guide for Beginners
  • scipy.interpolate: The Data Scientist’s Secret Weapon
  • Numerical Integration with SciPy.integrate
  • Can Python Predict the Next Ethereum Price Spike? Testing Machine Learning Models
  • SciPy Linear Algebra Module (scipy.linalg)
  • Special Functions in SciPy: What They Are and How to Use Them
  • SciPy Constants: Practical Guide for Scientific Python
  • SciPy Library Structure and Subpackages Overview
  • How to Install SciPy: Complete Installation Guide for All Platforms
  • What is SciPy? Complete Beginner’s Guide to Scientific Python

Favorite Sites

  • GoLang Tutorials
  • VM-Help
  • Linux Tutorials
  • MySQL Tutorials
  • CodeForGeek
  • Mkyong
Footer Logo
Get Latest Updates on AskPython



Partner Websites

  • GoLangDocs
  • LinuxForDevices
  • CodeForGeek

Popular Categories

  • Python Programming
  • Python Modules
  • OOPS in Python
  • Python Programming Examples
  • Strings in Python

Hall of Fame

  • Python Programming
  • OOPS in Python
  • Creating a Python Module
  • *args and **kwargs in Python
  • Python Dictionary (Dict) Tutorial
  • Python List – 15 Things You MUST Know
  • Python Set – Things You MUST Know
  • Python String Functions

Important Links

  • Home
  • Python Course
  • Start Here
  • Blog
  • About AskPython

Copyright © 2025 - AskPython. All rights reserved.