Post

PythonPython

n
naseer mohammad

Posted on 26th April 2024|46 views

0
votes

What Are The Variable Types In Python?

How many types of variables are there in python

Answers
P
veerubhotla sowmithri

Posted on 26th April 2024

Variables are some reserved memory locations to store the values, which means whenever you create a variable, you are reserving some memory space.

 

Depending upon the data type of the variable the interpreter assassins memory and decides what to store within that reserved memory that means by assigning various data types to variables you can save decimals, floating-point numbers and characters just like the example shown below.

 

Count = 10

Name = “nishanth”

Miles = 58.62

 

Print Count

Print Name

Print Miles

 

Write your answer

STILL GOT QUERIES?

Get a Live FREE Demo
  • Explore the trending and niche courses and learning maps
  • Learn about tuition fee, payment plans, and scholarships
  • Get access to webinars and self-paced learning videos