The problem is the way the numbers are handled, and not the operation that you use.
What I mean is that when you input:
89 100 200 678 123 #EDIT- CHANGED FOR NO COMMAS
the variable that is created is then a string like this:
s = "89 100 200 678 123"
In python, when you try to iterate through a string like this:
s[i]
the string is being read as a list like so:
s = ['8','9',' ','1','0','0',' ','2','0','0',' ','6','7','8',' ','1','2','3']
So this part:
for i in range(0,2*t,2): #t=5
k=int(s[i])
gets the following elements:
k='8'
k=' '
k='0'
k=' '
k='0'
which is probably why you get an error.
My solution would be to get the input as a list, by using:
numbers = input().split(" ")
Then with a normal for you will get:
for i in range(t):
k=int(numbers[i])
mul=(mul*k)%1000000007
print(mul)
EDIT:
I have added code that works for me, please tell me if it works for you:
mul=1
t = int(input()) #5
numbers = input().split(' ') #11 2 15 3 99
for i in range(t):
k=int(numbers[i])
mul=(mul*k)%1000000007
print(mul) #98010