Home
Python
2D
Application
Buildin Function
Class
Data Structure
Data Type
Database
Development
Dictionary
Event
Exception
File
Function
GUI Pmw
GUI Tk
Language Basics
List
Math
Network
String
System
Thread
Tuple
Utility
XML
If « Language Basics « Python
Python
Language Basics
If
1.
Nested if statement
2.
if-else structure
3.
if-elif-else structure
4.
if structure
5.
if Statements: if, elif and else
6.
Boolean operation in if
7.
elif demo
8.
if with else
9.
If statement: a dictionary-based 'switch'
10.
Leap Year checker