0
Wat is that the str() function ? Give an ex:
3 Réponses
+ 6
it converts a value into a string for example str(3) is equal to '3'
+ 3
let i will give you a example,
if u add 3+2 then =5
and if srt(3)+ str(2) them = '32'
in first it act as a numbers
and in second these numbers have been converted into words
+ 1
str is a string simply a text
example:
input("your age")
in this input age is a string