Led switching using python

After writing my code and saving the file in python
When i run the file it shows some attribute error
I am using ubuntu
Please help


There is a function name ‘digitalWrite’ and not ‘digitalwrite’. Since python is case sensitive in cases of functions, make sure to use the accurate case letter.