string_formatting.py
· 84 B · Python
Исходник
url = f"http://localhost:{args.port}"
url = "http://localhost:{}".format(args.port)
| 1 | url = f"http://localhost:{args.port}" |
| 2 | |
| 3 | url = "http://localhost:{}".format(args.port) |