0

What is str()?

1st Aug 2016, 5:43 AM
Amith A Shetty
Amith A Shetty - avatar
3 Answers
+ 1
makes a string of everything inside the paranthesis. for example: str (7) = "7"
1st Aug 2016, 9:58 AM
Tom Post
Tom Post - avatar
+ 1
This is the function to turn the argument understood as a string (a text ou a non-mathematical element).
1st Aug 2016, 3:59 PM
Samuel Cappelli
Samuel Cappelli - avatar
0
You can use it to make strings easier For example: a = "I" b = "am" print (a + b + str(19))
1st Aug 2016, 5:33 PM
Igor Solopchuk
Igor Solopchuk - avatar