Problem p02622 (python)

Fixed submission:
a=[input() for i in range(2)]
P=a[0]
S=a[1]
count=0
for t in range(len(P)):
  if P[t] != S[t]:
    count=count+1
print(count)

Buggy submission (verdict: Runtime Error):
a=[input() for i in range(2)]
P=a[0]
S=a[1]
count=0
for t in range(0,len(P)-1):
  if P[t] != S[t]:
    count=count++
print(count)

Buggy submission (verdict: Runtime Error):
second=input()
first=splitlines(second)
P=string(first[0])
S=string(first[1])
count=0
for t in range(0,len(P)-1):
  if P[t] is S[t]:
    count=count+1
#    else:
#      count=count
print(int(count))

Buggy submission (verdict: Runtime Error):
second=input()
first=splitlines(second)
P=string(first[0])
S=string(first[1])
count=0
for t in range(0,len(P)-1):
  if P[t] is S[t]:count=count+1
#    else:
#      count=count
print(int(count))

Buggy submission (verdict: Runtime Error):
second=input()
first=splitlines(second)
P=first[0]
S=first[1]
count=0
for t in range(0,len(P)-1):
  if P[t] is S[t]:count=count+1
    else:
      count=count
print(int(count))

Buggy submission (verdict: Runtime Error):
second=input()
first=splitlines(second)
P=first[0]
S=first[1]
count=0
for t in range(0,len(P)-1):
  if P[t] is S[t]:count=count+1
    else count=count
print(int(count))

Buggy submission (verdict: Runtime Error):
second=input()
first=splitlines(second)
P=first[0]
S=first[1]
count=0
for t in range(0,len(P)-1):
  if P[t]=S[t]:count=count+1
    else count=count
print(int(count))

Buggy submission (verdict: Runtime Error):
second=input()
first=split(second)
P=string(first[0])
S=string(first[1])
count=0
for t in range(0,len(P)-1):
  if P[t]=S[t]:count=count+1
    else count=count
print(int(count))

Buggy submission (verdict: Runtime Error):
second=input()
first=spit(second)
P=string(first[0])
S=string(first[1])
count=0
for t in range(0,len(P)-1):
  if P[t]=S[t]:count=count+1
    else count=count
print(int(count))

Buggy submission (verdict: Runtime Error):
second=input()
first=spitlines(second)
P=first[0]
S=first[1]
count=0
for t in range(0,len(P)-1):
  if P[t]=S[t]:count=count+1
    else count=count
print(count)

Buggy submission (verdict: Runtime Error):
second=input()
first=strings.spitlines(second)
P=first[0]
S=first[1]
count=0
for t in range(0,len(P)-1):
  if P[t]=S[t]:count=count+1
    else count=count
print(count)

Buggy submission (verdict: Runtime Error):
second=input()
first=strings.spitlines(second)
P=first[0]
S=first[1]
count=0
for t in range(len(P)-1):
  if P[t]=S[t]:count=count+1
    else count=count
print(count)

Buggy submission (verdict: Runtime Error):
second=input()
first=strings.spitlines(second)
P=first[0]
S=first[1]
count=0
for t in range(len(P)-1):
  if P=0:count=count+1
    else count=count
print(count)

Buggy submission (verdict: Runtime Error):
first=input()
P=first[0]
S=first[1]
count=0
for t in range(len(P)-1):
  if P eq 0:count=count+1
    else count=count
print(count)

Buggy submission (verdict: Runtime Error):
first=strings.spitlines(input())
P=first[0]
S=first[1]
count=0
for t in range(len(P)-1):
  if P eq 0:count=count+1
    else count=count
print(count)

Buggy submission (verdict: Runtime Error):
first=strings.spitlines(input())
P=first[0]
S=first[1]
count=0
for t in range(len(P)-1):
  if P=0:count=count+1
    else count=count
print(count)

Buggy submission (verdict: Runtime Error):
IN=input()
[P,S]=splitlines(IN)
count=0
for t in range(len(P)-1):
  if P[t] = S[t]:
    count=count+1
  else:
    count=count
print(int(count))