---
title: "Discussion on \"If Else Conditional Statements in Python\" | Hashnode"
description: "Discussion on \"If Else Conditional Statements in Python\". 1. If Statement\n📝 Definition:\nThe if statement is used to check a condition. If the condition is True, the code inside the block will execute.\n💡 Example:\nage = 18\n\nif age >= 18:\n    print(\"You are an adult.\")  # This will execute because the condit..."
url: "https://hashnode.com/posts/if-else-conditional-statements-in-python/681315c35766fe7ab786e5a2"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [If Else Conditional Statements in Python](https://safiakhatoon.hashnode.dev/if-else-conditional-statements-in-python?utm_source=hashnode&utm_medium=feed)

1\. If Statement 📝 Definition: The if statement is used to check a condition. If the condition is True, the code inside the block will execute. 💡 Example: age = 18 if age >= 18: print("You are an adult.") # This will execute because the condit...

May 1, 2025 · 3 min read · safiakhatoon.hashnode.dev  
Read the article

## Written by

[SAFIA KHATOON](https://hashnode.com/@safiakhatoon)

@safiakhatoon · Jharkhand

  
[View profile](https://hashnode.com/@safiakhatoon)

DevOps Journey Basics To Advanced

Hi! My name is Safia Khatoon. I am complete my Bachelors in Technology from RTC Institute Of Technology. My specialisation in Computer Science and Engineering.I love contributing to Open Source with the help of the skills I gain. Also, I'm working on my YouTube Channel as well where I teach about DevOps tools and make technical content. You can have a look at it through my profile. Feel free to reach out to me! I'd be happy to connect with you.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
