Find the errors from the following program:
n=input (Enter total number of elements)
l=range(n)
print l
for i in (n):
l[i]=input (“enter element”)
print (“All elements in the list on the output screen”
for j in range(n):
print(l[j))
Answers
Answered by
0
Explanation:
dhdhdhdhhdhdhdhdhdududuudhdhduduusuxuuxuxyxyxyxyxyxyxyxyxyxyxyxyxyyxyxyxyxyxyhxhgdgddgdghxyxgxhbdbdbxhxxuxnnjjdjdjjwjedjiddijdjdjdididksjdjdjdjdjejjrjrjrjrjrjrjrjrjrhrjrurududududuududuueudududududuudududududuuddududjxjjdjsjsiskskk
Answered by
2
n = int(input("Enter total number of elements: "))
l = []
print(l)
for i in range(n): l.append(input("enter element: "))
print("All elements in the list on the output screen")
for j in l: print(j)
Similar questions