0

How do we get space in between strings, while multiplying the strings ?

Print ("Sam" * 2) Output:- SamSam If we want output Sam Sam by multiplying operation of string.

31st Oct 2020, 6:41 AM
Vivek Kumar Singh
1 Réponse
+ 5
Please specifiy the language name in tags , You need to do "Sam "*2
31st Oct 2020, 6:46 AM
Abhay
Abhay - avatar