#!/usr/bin/env python3
# -*- coding: utf-8 -*-
# @Date    : 2019-11-18 23:52:14
# @Author  : <NAME> (racterub)
# @Mail    : <EMAIL>
# @Link    : https://racterub.io
# @License : MIT

f = open("golf.txt", "r").readlines()

for i in range(0, len(f), 2):
    print("Name: ", f[i].strip())
    print("Score: ", f[i+1].strip())

#!/usr/bin/env python3
# -*- coding: utf-8 -*-
# @Date    : 2019-11-18 23:52:14
# @Author  : <NAME> (racterub)
# @Mail    : <EMAIL>
# @Link    : https://racterub.io
# @License : MIT

f = open("golf.txt", "r").readlines()

for i in range(0, len(f), 2):
    print("Name: ", f[i].strip())
    print("Score: ", f[i+1].strip())

#!/usr/bin/env python3 # -*- coding: utf-8 -*- # @Date    : 2019-11-18 23:52:14 # @Author  : <NAME> (racterub) # @Mail    : <EMAIL> # @Link    : https://racterub.io # @License : MIT