+ and * with strings and numbers
Predict the outputEasy-MediumPython only
print("3" + "4")
print(3 + 4)
print("3" * 2)
print(int("3") + 4)
print("ab" * 3)
print("-" * 0 == "")
This question is part of Pro+
Pro+ opens every question in Interview Prep and the mock interview. Every article and the first 2 questions of each topic stay free. Hands-on Selenium and API tasks follow their course lesson's own lock.