variables in Python 3 part-4

Published: 01 January 2018
on channel: Cook The Code
15
1

What is Variable?
A variable is nothing but a reserved memory location to store values. In other words a variable in a program gives data to the computer to work on.

Every value in Python has a datatype. Different data types in Python are Numbers, List, Tuple, Strings, Dictionary, etc. Variables can be declared by any name or even alphabets like a, aa, abc etc.

#!/usr/bin/python

counter = 100 # An integer assignment
miles = 1000.0 # A floating point
name = "John" # A string

print counter
print miles
print name

website:- https://coderworld109.blogspot.in/


Watch video variables in Python 3 part-4 online, duration hours minute second in high quality that is uploaded to the channel Cook The Code 01 January 2018. Share the link to the video on social media so that your subscribers and friends will also watch this video. This video clip has been viewed 15 times and liked it 1 visitors.