Output Multiple Variables With Print Function

[Solved] Output Multiple Variables With Print Function | Perl - Code Explorer | yomemimo.com
Question : Print statement with multiple variables

Answered by : chunxiao-wang

band = 8
name = "Sarah Fier"
print("The band for %s is %s out of 10" % (name, band))

Source : https://appdividend.com/2021/08/05/how-to-print-multiple-variables-in-python/ | Last Update : Fri, 10 Jun 22

Answers related to output multiple variables with print function

Code Explorer Popular Question For Perl