scores = [70, 60, 80, 50, 90]


def judge(x):
    if x < 60:
        return "Fail"
    else:
        return "Pass"


results = []
for s in scores:
    results.append(judge(s))
print(results)

print([judge(s) for s in scores])

for s in scores:
    print("%d==>%s" % (s, judge(s)))
ec1619c6fecf4d74eaeb9457774f638d4a94a8e8
<mask token>

<mask token>


def judge(x):
    if x < 60:
        return 'Fail'
    else:
        return 'Pass'


<mask token>

<mask token>


def judge(x):
    if x < 60:
        return 'Fail'
    else:
        return 'Pass'


<mask token>
for s in scores:
    results.append(judge(s))
print(results)
print([judge(s) for s in scores])
for s in scores:
    print('%d==>%s' % (s, judge(s)))

scores = [70, 60, 80, 50, 90]


def judge(x):
    if x < 60:
        return 'Fail'
    else:
        return 'Pass'


results = []
for s in scores:
    results.append(judge(s))
print(results)
print([judge(s) for s in scores])
for s in scores:
    print('%d==>%s' % (s, judge(s)))

scores = [70, 60, 80, 50, 90]


def judge(x):
    if x < 60:
        return "Fail"
    else:
        return "Pass"


results = []
for s in scores:
    results.append(judge(s))
print(results)

print([judge(s) for s in scores])

for s in scores:
    print("%d==>%s" % (s, judge(s)))