DEV Community

ice8980
ice8980

Posted on

How to create a Variable in python

What is a variable?
A variable is a very important function in python. In fact, variables arent just important in python, it is important in all programming languages like javascript Lua, etc.

How do I create a variable?
The code below is shown to how to create a variable.

a = "Hello this is an example"
print (a)

Enter fullscreen mode Exit fullscreen mode

Why is this important?
Variables in very important because variables can be in many programming languages. Like javascript, C, PHP, etc.

Conclusion
At the end of the day, Programming variables can be very important.

Top comments (0)