Professional Documents
Culture Documents
Academic Year 2023-24 Class VI Subject: ICT Chapter 5: Introduction To Python
Academic Year 2023-24 Class VI Subject: ICT Chapter 5: Introduction To Python
2. A variable is used to store data value. It can store only one data value at a time.
When a new value is stored in a variable, its previous value gets overwritten.
3. Python works in two modes - Interactive mode is the mode where you type the
commands one at a time and get the result or error immediately. Whereas, the Script
mode is used to create, and edit Python programs and save them for later use.
5. The print () function is used to display the output of any command on the screen. We
can also pass more than one argument to the print () function. Separators are used with
the print () function to format the output.
6. i) A variable name must start with an alphabet or an underscore. ii) A Python keyword
cannot be used as a variable name. iii) A variable name can be of any length. iv) Variable
names are case-sensitive.
7. Using '\t' (tab space) is used to display values with a tab space between them.
Using '\n': A newline character is used to end a line and start a new line.
**************