+ 2

What is string?

6th Mar 2018, 10:27 AM
Anzal Khan
9 Respuestas
+ 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
9th Mar 2018, 4:11 AM
Khushal Sahni
Khushal Sahni - avatar
+ 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/
6th Mar 2018, 10:37 AM
Allen Smith
+ 2
string is a sequence of characters
7th Mar 2018, 7:48 AM
PIYUSH KUMAR SINGH
PIYUSH KUMAR SINGH - avatar
+ 1
every character you can type is a string regardless if its a number, letter or special character
6th Mar 2018, 10:30 AM
Dominique Abou Samah
Dominique Abou Samah - avatar
+ 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
19th Mar 2018, 1:35 PM
Salman
Salman - avatar
0
have u looked it up in lessons or internet
6th Mar 2018, 10:28 AM
Farshaad Heydari
Farshaad Heydari - avatar
0
i tried, but it doesn't explain it and instead gives me a lot of other technical terms
6th Mar 2018, 10:29 AM
Anzal Khan
0
From this program u can undestamd what is string n what string do in prgrm! https://code.sololearn.com/ckYsCJ0A8987/?ref=app
6th Mar 2018, 12:18 PM
Harsh Agrawal
Harsh Agrawal - avatar
0
string is a array of characters ending with a NULL character.
3rd Apr 2018, 2:24 PM
Arun kumar sahu
Arun kumar sahu - avatar