Python: Part eight - Deepstash
Python: Part eight

Python: Part eight

1 idea

·

41 reads

1

Learning Python: IF statements continued

Learning Python: IF statements continued

As you can see in this image i am using variables this time in the if statement. As was mentioned in the first part about if statements that they only return True or False. I have 2 if statements but only one is printing out to the console, this is because only one of them is true, join the dicsord channel and let me know why the second is not printing.

If statements can be used for alot of different situations, for example from simple text based games, to data processing to AI, IF statements are fundemental in python.

Dont forget to join discord if you need help

https://discord.gg/XZQwPwaS97

3

41 reads

CURATED BY

samuelbancroft

Keep reading, keep studying, the more you learn the more you change. If you are doing the Python lessons please join this discord channel https://discord.gg/kugXx9KY but please follow the rules

Read & Learn

20x Faster

without
deepstash

with
deepstash

with

deepstash

Access to 200,000+ ideas

Access to the mobile app

Unlimited idea saving & library

Unlimited history

Unlimited listening to ideas

Downloading & offline access

Personalized recommendations

Supercharge your mind with one idea per day

Enter your email and spend 1 minute every day to learn something new.

Email

I agree to receive email updates