Is there any way to underline the message I am printing? If youu see my output at the bottom I am tyring to print my message with underline. As of rightnow this is the best I came up with.
Code:
from numarray import*
n=input("Enter number of array elements: ")
a=zeros(n,Int)
b=zeros(n,Int)
for i in range (0,n):
print "Enter number",i+1
a[i]=input()
for i in range(0,n):
if a[i]>0:
b[i]=a[i]+1
print "Array1\tArray2"
print "______\t______"
for i in range(0,n):
print a[i],"\t",b[i]
Comment