Code:
import urllib2 as u import os as o inn = \'dword.txt\' w = open(inn) z = w.readline() b = w.readline() c = w.readline() x = w.readline
str = 'Hello World String' print(str(10)+' Good day!!')
Even I faced issue with the above code as we are shadowing str() function.
Solution is:
string1 = 'Hello World String' print(str(10)+' Good day!!')