What is the data type for words | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

What is the data type for words

I mean data type for words. For example "int" for integers

10th Nov 2021, 6:27 PM
King Coder
3 Answers
+ 6
Strings written in "...." are by default used for words. For eg. In Python... day = "Monday" print(day) Always tag languages in your question and provide detailed description.
10th Nov 2021, 6:33 PM
Shivani 📚✍
Shivani 📚✍ - avatar
+ 2
string in most programminglanguages. Please ***tag*** the relevant programming language.
10th Nov 2021, 6:33 PM
Lisa
Lisa - avatar
0
String "str" or character "char"
12th Nov 2021, 4:18 AM
Maanvi Bhagat
Maanvi Bhagat - avatar