Python Tricks
Asterisk (*) is commonly used to multiply Integers/Float/Double but in python they are used with Strings, Arrays and Tuples as well.
Let's see how
s = "shy"
print(s*3)
"shyshyshy"
It is very useful while solving pattern designing problems. Let us...
anujshukla.hashnode.dev2 min read