Give the output of the following:
a) a=input()
print(type(a))
2
b) b=pow(3,2,5)
print(b)
2
c) sum = 0
for i in range(12,2,-2):
sum+=i
print (sum)
2
d) List=[1,6,8,4,5]
print (List[-4] * 3)
2
e) List=list("String")
print (List[-1])
Answers
Answered by
0
Answer:
- input is the device which takes in
Similar questions