What will be the result of the following operation? 'python' * False

Questions & AnswersCategory: PythonWhat will be the result of the following operation? 'python' * False
Lokesh Kumar Staff asked 2 years ago

What will be the result of the following operation?

'python' * False

 

a. False
b. ‘python’
c. ”
d. The operation will not be performed. Objects like str and bool cannot be multiplied.