You are viewing a single comment's thread. Return to all comments →
Since version 3.6 Python have got f-strings "formatted strings" so it's as easy as this:
print(f"{a+b}\n{a-b}\n{a*b}")
Seems like cookies are disabled on this browser, please enable them to open this website
Arithmetic Operators
You are viewing a single comment's thread. Return to all comments →
Since version 3.6 Python have got f-strings "formatted strings" so it's as easy as this: