81.6k views
2 votes
What is a (string) in computer programming​

User Grunk
by
6.1k points

2 Answers

3 votes

Answer:

A sequence of letters, numbers, and symbols

Step-by-step explanation:

"Notice how strings are in quotation marks and calculations are not."

print("Python can add!")

print(2 + 2)

print(465 + 27)

print(4 + 6 + 9 + 3)

User Pesla
by
6.0k points
4 votes

Answer:

In computer programming, a string is traditionally a sequence of characters, either as a literal constant or as some kind of variable. In formal languages, which are used in mathematical logic and theoretical computer science, a string is a finite sequence of symbols that are chosen from a set called an alphabet.

User Yiou
by
5.6k points