# open file and store file object in a variable file = open('Codingal.txt') # read the contents of file print(file.read()) # close the file file.close()
To embed this project on your website, copy the following code and paste it into your website's HTML: