How to create variable in python | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 8

How to create variable in python

Sorry I suddenly just forgot.

5th Aug 2019, 10:14 PM
JT JT
JT JT - avatar
7 Answers
+ 6
https://goo.gl/search/How+to+make+variables+in+JUMP_LINK__&&__python__&&__JUMP_LINK Python Variables and Assignment | Pluralsight To summarize: Python lets you create variables simply by assigning a value to the variable, without the need to declare the variable upfront. The value assigned to a variable determines the variable type. Hope you remember
5th Aug 2019, 10:15 PM
Audu Peter Iko-Ojo
Audu Peter Iko-Ojo - avatar
+ 8
https://www.w3schools.com/JUMP_LINK__&&__python__&&__JUMP_LINK/python_variables.asp Python Variables - W3Schools Check this one of the world's smartest person ever exist... Einstein
5th Aug 2019, 10:15 PM
KingDaniel2004
KingDaniel2004 - avatar
+ 3
Like this : Variable = "value"
6th Aug 2019, 12:19 PM
\Dante/
\Dante/ - avatar
+ 3
Example is this below👇👇👇 Variable = "python"
9th Aug 2019, 11:25 AM
Anonymous Angelo
Anonymous Angelo - avatar
+ 1
Variablename=value Value can be of any type and can be reassigned
7th Aug 2019, 3:31 AM
Joshi
Joshi - avatar
0
by assigning variable without declaring it
17th Aug 2019, 10:34 PM
Leonard Mfodjo
Leonard Mfodjo - avatar
0
My_variable=variable you want
30th Aug 2019, 12:47 PM
ABHAY
ABHAY - avatar