Need help what t strings? | Sololearn: Learn to code for FREE!

0

Need help what t strings?

HELP NEEDED

12/8/2016 2:07:03 AM

oldwizeonegaming 227

1 Answer

New Answer

+1

string is the type in Python .. it is generally in the quotes (Text) or in some cases for example number 2 could be interperet as string if it is inside str(2) or in quotes "2" Python interpretes everything as string between quotes a = 2 ->>> is number a="2"--- is string a= "something" .>>> is string a=str(2) ->>> is string (2 converted to string) you cant add string for example 2+2=4 but "2" + "2" is "22" and you cant add string with number "2" + 2 >>> ERROR. Hope this helped you.