Display operating system name
Write a program that displays the name of the computer's operating system. For example, the output may be one of the following:
Windows
Linux
Darwin
Write a program that displays the name of the computer's operating system. For example, the output may be one of the following:
Windows
Linux
Darwin
import platform
print(platform.system())
Submitting answers is currently unavailable.
You must be logged in to access this section.
Login/Sign up If you don’t understand the exercise or can’t solve it for any reason, that’s completely
normal—don’t worry 😊
Try checking out easier exercises and reviewing different answers
submitted by others. Gradually, you can move on to more challenging exercises. Also, your answer
might be correct even if it’s different from others.