Page 112 - Digicode_AI_class_6
P. 112
The general syntax of the print( ) function is as follows:
print [<expression 1> , <expression 2>...]
For example:
print ("Python is easy")
Let's create a program to use the input( ) and print( ) functions.
Information Literacy
code Quest Technology Literacy
Guess my name.
1. I am a free and open-source programming language.
2. I am a command line shell which gives immediate result for
each command.
3. I save the commands entered by the user in the form of a program.
4. I am a option to save the Python program.
5. I am an option to run the Python program.
Variables in Python
Variables are memory reference points where we store values which can be accessed or changed
later. The names given to the variables are known as identifiers. In Python, we do not need to
specify the type of variable because Python is a dynamically typed language and it identifies the
variable type automatically. Let’s understand this with the help of the given examples.
110 DigiCode AI-VI

