Problem p02582 (python)

Fixed submission:
S = input()
if S == 'SSS':
  print(0)
elif S == 'SRR':
  print(2)
elif S == 'RRS':
  print(2)
elif S == 'RRR':
  print(3)
else:
  print(1)

Buggy submission (verdict: Runtime Error):
S = input()
if S == 'SSS':
  print(0)
elif S == 'SSR':
  print(1)
elif S == 'SRR':
  print(2)
else if S == 'SRS':
  print(1)
else if S == 'RSS':
  print(1)
else if S == 'RRS':
  print(2)
else if S == 'RRR':
  print(3)
else if S == 'RSR':
  print(1)

Buggy submission (verdict: Runtime Error):
S = input()
if S == 'RRS':
    print(2)
elif S == 'SSS'
    print(0)
elif S = 'SRR'
	print(2)
elif S = 'RRR'
    print(1)

Buggy submission (verdict: Runtime Error):
S = input('天気が雨である日が連続していた最大の日数を出力せよ。')
N = True
while N == True:
N = False
if S == 'SSS':
	print(0)
elif S == 'SSR':
	print(1)
elif S == 'SRR':
	print(2)
elif S == 'SRS':
	print(1)
elif S == 'RSS':
	print(1)
elif S == 'RRS':
	print(2)
elif S == 'RRR':
	print(3)
elif S == 'RSR':
	print(1)
else:
	N = True

Buggy submission (verdict: Runtime Error):
S = input('天気が雨である日が連続していた最大の日数を出力せよ。')
N = True
while N == False:
if S == 'SSS':
	print(0)
elif S == 'SSR':
	print(1)
elif S == 'SRR':
	print(2)
elif S == 'SRS':
	print(1)
elif S == 'RSS':
	print(1)
elif S == 'RRS':
	print(2)
elif S == 'RRR':
	print(3)
elif S == 'RSR':
	print(1)
else:
	N = False

Buggy submission (verdict: Runtime Error):
S = input('天気が雨である日が連続していた最大の日数を出力せよ。')
N = True
while N == False:
if S == 'SSS':
	print(0)
else if S == 'SSR':
	print(1)
else if S == 'SRR':
	print(2)
else if S == 'SRS':
	print(1)
else if S == 'RSS':
	print(1)
else if S == 'RRS':
	print(2)
else if S == 'RRR':
	print(3)
else if S == 'RSR':
	print(1)
else:
	N = False

Buggy submission (verdict: Runtime Error):
S = input('天気が雨である日が連続していた最大の日数を出力せよ。')
if S == 'SSS':
	print(0)
else if S == 'SSR':
	print(1)
else if S == 'SRR':
	print(2)
else if S == 'SRS':
	print(1)
else if S == 'RSS':
	print(1)
else if S == 'RRS':
	print(2)
else if S == 'RRR':
	print(3)
else if S == 'RSR':
	print(1)

Buggy submission (verdict: Runtime Error):
S = input('天気が雨である日が連続していた最大の日数を出力せよ。')
if S == 'SSS':
	print(0)
else if S == 'SSR':
	print(1)
else if S == 'SRR':
	print(2)
else if S == 'SRS':
	print(1)
else if S == 'RSS':
	print(1)
else if S == 'RRS':
	print(2)
else if S == 'RRR':
	print(3)
else if S == 'RRS':
	print(2)

Buggy submission (verdict: Runtime Error):
S = input('天気が雨である日が連続していた最大の日数を出力せよ。')
if S == SSS
	print(0)
else if S == SSR
	print(1)
else if S == SRR
	print(2)
else if S == SRS
	print(1)
else if S == RSS
	print(1)
else if S == RRS
	print(2)
else if S == RRR
	print(3)
else if S == RRS
	print(2)

Buggy submission (verdict: Runtime Error):
S = input('天気が雨である日が連続していた最大の日数を出力せよ。')
if S == 'SSS'
	print(0)
else if S == 'SSR'
	print(1)
else if S == 'SRR'
	print(2)
else if S == 'SRS'
	print(1)
else if S == 'RSS'
	print(1)
else if S == 'RRS'
	print(2)
else if S == 'RRR'
	print(3)
else if S == 'RRS'
	print(2)

Buggy submission (verdict: Runtime Error):
S = input('天気が雨である日が連続していた最大の日数を出力せよ。')
[n1,n2,n3] = S.split() 
if n1 == S
	if n2 == S
  		if n3 == S
    		print(3)
      	else 
        	print(2)
	else     
    	if n3 == S
      		print(1)
        else
        	print(2)
else
	if n2 == S
  		if n2 == S
    		print(2)
      	else
        	print(1)
	else
    	if n2 == S
      		print(2)
        else
        	print(3)