I was trying to learn how to execute python code using Apache. Having gone through various tutorials, I configured my conf file as follows to allow python code execution.
000-default.conf:

My python program, hello.py is following:

The program is put in directory /var/www/html/cgi-bin/. After Setting all this, When I goto address of file (www.domainname.com/cgi-bin/hello.py), I am met with following error.

How to resolve this error and get my code running?