0
https://code.sololearn.com/ckwO0yKk7LOO/?ref=app I want it to display 2X3=6 And not just numbers. Please tell me.
It is only showing numbers. https://code.sololearn.com/ckwO0yKk7LOO/?ref=app I want it to display 2X3=6 And not just numbers https://code.sololearn.com/ckwO0yKk7LOO/?ref=app
3 Answers
+ 4
You can use f-strings for that:
print(f"{i}*{x}={i*x}")
+ 1
Thanks