Lowest price ever! Learn Generative AI for 48% less!
Get my discount0
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