Answers for "How to assign value to variable in Python"

0

How to assign value to variable in Python

#In Python, to assign any value to a variable, type:
#var (name of variable) '=' (value)
#For example:
var num = 6
print (num)
#output will be: 6.
#Don't forget to upvote this answer if it was helpful!
Posted by: Guest on May-31-2021

Code answers related to "How to assign value to variable in Python"

Python Answers by Framework

Browse Popular Code Answers by Language