chapter-1-3 Flashcards
(7 cards)
1
Q
What is IDLE
A
A lightweight IDE which shipped with Python package.
2
Q
How to invoke or start IDLE?
A
By running following command:
|»_space; idle3
3
Q
How block of code is represented in Python?
A
A block is represented by indentation not by “curly braces”
4
Q
What is “suite” in python?
A
A suite is nothing but “block” of code.
5
Q
What is the meaning of “semicolon” in python?
A
In Python, Semicolon means start of “block” of code.
Next line after “semicolon” must be intended.
6
Q
What’s the if-else structure in Python?
A
if :
elif :
else:
7
Q
How Python recognise, the end-of-statement?
A
End-of-line is “End-of-statement”.