Answer:
The first computer brought in Nepal was IBM 1401 which was brought by the Nepal government in lease (1 lakh 25 thousands per month) for the population census of 1972 AD (2028 BS). It took 1 year 7 months and 15 days to complete census of 1crore 12.5 lakhs population.
With mobile phone you can access data/internet wherever reception/coverage whereas desktop users cannot
He should contact the teacher for assistance
Answer:
Function sparse code is
def sparse(a):
rl = []
cl = []
for i in range(0,len(a)):
rl.append(a[i][1])
cl.append(a[i][2])
r = max(rl)
c = max(cl)
s = []
k = 0
for i in range(0,r+1):
s.append([])
for j in range(0,c+1):
if (i==a[k][1]) & (j == a[k][2]):
s[i].append(a[k][0])
k = k+1
else:
s[i].append(0)
return s
def main():
k = sparse([[3,1,2],[4,5,3]])
print(k)
if __name__ == '__main__':
main()
Explanation:
Please see attachment for output