Computer Science, asked by sarbjot2, 1 month ago

3. Write the Python commands for the following
a. To assign number 12 to variable k
b. To assign number 3.4 to variables p and a
c. To display the text India is my country.
d. To display the value of 34.
e. Find the type of the data 4.67.

Answers

Answered by SinisterX
2

Assigning Values to Variables

Python variables do not need explicit declaration to reserve memory space. The declaration happens automatically when you assign a value to a variable. The equal sign (=) is used to assign values to variables.

Similar questions