Back to Lesson
Print to stderr
Print an error message to standard error.
Instructions
- Import themodule.
sys - Usewith the
print()parameter to print "Error occurred" tofile.sys.stderr
main.py
main.py
Ctrl + Enter