You can turn any value into a string with the str( ) function (like seen in this program). you can also use string inputs.
str(input()).
When you make a sum of strings it will make a concatenation:
1+1=
2
"1"+"1"= Concatenation.
"11"
"Hi "+" I´m "+" George"= Concatenation
"Hi I´m George".
String can also be multiplied as seen in this program.
No hay comentarios:
Publicar un comentario