Write a program to raise a RuntimeError exception.


Topic: Write a program to raise a RuntimeError exception.

Solution

raise RuntimeError('something wrong')



List all Python Programs