Sep-03-2021, 09:21 AM
There are three ways:
command = "Hello World!" print(f"my command is {command}") print("my command is %s"%command) print("my command is {}".format(command))
Output:my command is Hello World!
my command is Hello World! exe c:/Users/steve/Desktop/html/math/sdfdsdf.py
my command is Hello World!