L
L
Fill the underline with python statement in the following program to invoke except
block.
try:
num=10
print(num)
------------------
except:
print(‘Self Exception’)
import math
print(math.exp(1000))
except OverflowError:
else:
o/p;
Sales table:
Karan 60 2 Kangra
Differentiate Matplotlib Bar chats with Matplotlib Histogram chats with suitable
Python programs for both the graph types.
Differentiate Panda Series with Numpy arrays with suitable Python programs for
both the data structures.
print(Myarray[1:4:1])
print(Myarray[:3:1])
print(Myarray[0::1])
print(Myarray[::])
print(Myarray[-4:-1:1])
print(Myarray[4:1:-1])
Develop a python program to copy one file content into another file.
Demonstrate Python connectivity to Twitter API using Sqlite database with your
own example.