1.

Write the output of the given Python code # !/usr/bin/pythonstr = “this is really a string example…. wow!!!”;str = “is”;print str.rfind(str); print str.rfind(str, 0,10); print str.rfind(str, 10, 0); print str.find(str); print str.find(str, 0,10); print str.find(str, 10, 0);

Answer»

Above code will produce the following result : 

-1 

-1



Discussion

No Comment Found