哇哈哈,我這樣竟然能通過,但是到了eclipse中就不行了 什么情況,大家來驗證一下
d = { 'Adam': 95, 'Lisa': 85, 'Bart': 59 }
def generate_tr(name, score):
??? return '<tr><td>%s</td><td>%s</td></tr>' % (name, score)
tds = [if score < 60:'<tr><td>%s</td><td style="color:red">%s</td></tr>' % (name, score) else: '<tr><td>%s</td><td>%s</td></tr>' % (name, score) for name, score in d.iteritems()]
print '<table border="1">'
print '<tr><th>Name</th><th>Score</th><tr>'
print '\n'.join(tds)
print '</table>'
2022-03-26
我也一樣?貌似有個bug總覺得每個月的第一個日志應該浮動在左邊ul>li:last-child{
2016-05-12
eclipse 屬于JAVA的編譯器?