New course! Every coder should learn Generative AI!
Try a free lesson0
When we multiply a string by 0 (zero) python why it gives No Output?
1 Answer
+ 1
It doesn't give No Output, it prints an empty string.
To try that:
print("this is a string"*0=="")
OUTPUT: True