Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conditional Statements: if-else statement #1

Open
Mohwit opened this issue Mar 11, 2023 · 3 comments
Open

Conditional Statements: if-else statement #1

Mohwit opened this issue Mar 11, 2023 · 3 comments
Labels
good first issue Good for newcomers

Comments

@Mohwit
Copy link
Member

Mohwit commented Mar 11, 2023

Add template displaying usage of if-else statements.

@Mohwit Mohwit added the good first issue Good for newcomers label Mar 11, 2023
@Vedant-code
Copy link

# Template for if-else statements

# Define a condition to check
condition = True

# Check the condition and execute the appropriate code block
if condition:
    # Code to execute if the condition is True
    print("The condition is True.")
else:
    # Code to execute if the condition is False
    print("The condition is False.")

@Mohwit
Copy link
Member Author

Mohwit commented Mar 12, 2023

@Vedant-code Thanks for showing your interest for help!
Give me a couple of days, I'm writing contribution rules and a basic structure for each template. Then you can start contributing!
Thanks for your patience.

@Mohwit
Copy link
Member Author

Mohwit commented Mar 12, 2023

@Vedant-code I have updated READ.md and CONTRIBUTING, so do read them and please follow Template to make your changes,
Looking forward to your contribution!

@Mohwit Mohwit changed the title Conditional: if-else statement Conditional Statements: if-else statement Mar 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants