from sys import argv
file_name, worked_hour, rate, benefit = argv
calculation = (int(worked_hour) * int(rate)) + int(benefit)
print(f"Your pay is equal {calculation}")
print("-" * 50)
это запуск. json
"version": "0.2.0",
"configurations": [
{
"name": "Python: homeWork",
"type": "python",
"request": "launch",
"program": "${file}",
"console": "integratedTerminal"
"args": ["file_name", "worked_hour", "rate", "benefit"]
}
]
}
Как запустить их в консоли ( VS code ) / Как начать с моими параметрами введя их в консоль? ? ?