Good Morning
07:29 am

Sponsor Area

Sponsor Area

Question is

What will be the output of the following python code? Explain the try and except used in the code.

U=0
V=6
print 'First'
try:
	print 'Second'
	M=V/U
	print 'Third',M
except ZeroDivisionError :
	print V*3
	print 'Fourth'
except:
	print V*4
	print 'Fifth'

Mock Test Series

Sponsor Area

Sponsor Area

NCERT Book Store

NCERT Sample Papers

Entrance Exams Preparation