Print formatting in Python 3 - Printable Version +- QP School (https://qomplainerzschool.lima-city.de) +-- Forum: Tutorials (https://qomplainerzschool.lima-city.de/forumdisplay.php?fid=3) +--- Forum: Python 3 Tutorials and examples (https://qomplainerzschool.lima-city.de/forumdisplay.php?fid=51) +--- Thread: Print formatting in Python 3 (/showthread.php?tid=5065) |
Print formatting in Python 3 - Qomplainerz - 07-25-2023 name = "John" age = 30 print("My name is {} and I am {} years old.".format(name, age)) |