Conditional statements
No account is required. Learn the material, try the examples, and mark it complete locally when you are ready to move on.
We are now heading into the sections where we learn how a computer makes its decisions.
"Oye, python, wake up"
"What are you so hyped up about in the early morning, Tikles. I didn't even have my morning electro-coffee yet"
"(Tickles smirk) You wanna learn how to communicate with humans"
"What are you, a kid? *facepalm I'm not so enthusiastic as you"
"Cmon man, here's your 800 watt coffee"
"Ohh, yeahhhhh. What do you want me to do, Sir Tickles"
Code Blocks
So far, we've studied data types, variables and some operations like assignment, comparison. All of those topics didn't require the knowledge of indentation or code blocks. But from here onwards, it'll become critical to understand what exactly a code block is.
We have used whitespace and code lines as how we liked till now. It was because the functions and operations we have used so far were part of just one code block.
Lets take an example to understand this.
a = 10