Python: Some of the instances of basic if-else

Python Some of the instances of basic if-else

Python: Examples of if-else: Here, we will find out about basic if-else by utilizing a portion of the little model codes. Example1: Enter a number and check whether it is 10 or not: Output: Example2: Find the biggest of two numbers: Output: Example3: Find the biggest of two numbers utilizing single articulation: Output:

error: Alert: Content is protected!!