+ 2
What is string?
9 Respostas
+ 4
Well a string is just simply any name of anything which can be your name, my name, or even numbers 123456 but the difference between integers and strings is that, Integers are numbers and I'm pretty sure you know what numbers are, Strings are used inside double quotes which means inside these " " so if you are using your name as a string, then "Anzal" is a string, "12345" is a string, while 12345 is an Integer. Strings are often used to input names but you can use them in many different purposes
+ 3
A string is created by entering text between two single or double quotation marks.
Usually text are expressed as string, but a number is also expressed as string by using quotation marks.
Example -
"My birthday was 28 02" or
'It was awesome'
When the Python console displays a string, it generally uses single quotes. The delimiter used for a string doesn't affect how it behaves in any way.
https://www.sololearn.com/learn/Python/2274/
+ 2
string is a sequence of characters
+ 1
every character you can type is a string regardless if its a number, letter or special character
+ 1
a string is basically anything which can be put between single quotes and double quotes
eg "18299" is a string
29292 is not a string
"any" is a string
any is not a string
0
have u looked it up in lessons or internet
0
i tried, but it doesn't explain it and instead gives me a lot of other technical terms
0
From this program u can undestamd what is string n what string do in prgrm!
https://code.sololearn.com/ckYsCJ0A8987/?ref=app
0
string is a array of characters ending with a NULL character.