Day 33 - Short Hand if else
If ... Else in One Line
There is also a shorthand syntax for the if-else statement that can be used when the condition being tested is simple and the code blocks to be executed are short. Here's an example:
a = 2
b = 330
print("A") if a > b else prin...
viveky.hashnode.dev1 min read