IndexPythonJapaneseChainmailleLeather

String Function

str() - Converts the value in the parenthesis to string data type.
  A string is any character, but not recognized by the program as a number.

   name = "Craig"
   age = 39
   print(name + " " + age)
    <Error Ouput>

  However

   name = "Craig"
   age = "39"
   print(name + " " + age)
    Craig 39

HomeData TypesVariablesFunctionsEscape SequencesProgram Comments