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

30th May 2020, 9:27 AM
Arshad Ali
Arshad Ali - avatar
2 Antworten
+ 4
You can use f-strings for that: print(f"{i}*{x}={i*x}")
30th May 2020, 9:28 AM
Kuba Siekierzyński
Kuba Siekierzyński - avatar
+ 1
Thanks
30th May 2020, 9:30 AM
Arshad Ali
Arshad Ali - avatar