+ 1
what is diffferent between string and values
string&values
4 Answers
+ 4
I don't know what you mean by 'values' but maybe this would help:
string or str is a specific data type, in other words those are texts. They are closed within quotation marks (either single or double).
Examples:
â«ïž"Hello World"
â«ïž"42"
â«ïž'Python'
Meanwhile, values are the value that are assigned into a variable.
Examples:
â«ïžnum = 5
đčHere num is the variable and 5 is the value.
â«ïžword = "Spam"
đčHere word is the variable and it holds the value "Spam".
+ 2
thanks
+ 1
thnks