'%.1f%%' % r)
练习
# -*- coding: utf-8 -*- L = [ ['Apple', 'Google', 'Microsoft'], ['Java', 'Python...', 'Ruby', 'PHP'], ['Adam', 'Bart', 'Lisa'] ]
# 打印Apple:
# 打印Python:
# 打印Lisa:
L = [
['Apple'..., 'Google', 'Microsoft'],
['Java', 'Python', 'Ruby', 'Php'],
['Adam', 'Bart', 'Lisa']
]
print