Variables | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Variables

How to define variables in Python

13th Oct 2018, 8:22 PM
Devansh Taliyan
Devansh Taliyan - avatar
2 Answers
13th Oct 2018, 8:50 PM
Roneel
Roneel - avatar
0
name = value That is all. Give it a name and a value, Python will know what datatype it is meant to be
13th Oct 2018, 11:37 PM
LordHill
LordHill - avatar