make a python program to shutdown pc code example
Example 1: how to shutdown a computer with python
import os
os.system("shutdown /s /t 1")
Example 2: how to shutdown a windows 10 computer using python
import os
os.system("shutdown /s /t 1")
import os
os.system("shutdown /s /t 1")
import os
os.system("shutdown /s /t 1")