擅长:python、mysql、java
<pre><code>s = """Batman, Bruce Wayne, high tech weapons, 70
Spiderman, Peter Parker, wrist web-shooter, 70
Superman, Clark Kent, superhuman strength, 99
Captain America, Steve Rogers, vibranium-steel shield, 71
Wonder Woman, Princess Diana, indestructible bracelets, 80
Iron Man, Tony Stark, powered armor suit, 85
Donald Knuth, Donald Knuth, computer science and mathematics, 100
Hulk, Robert Banner, superhuman strength, 90
He-Man, Prince Adam, superhuman strength, 92
Wolverine, Logan, retractable bone claws, 70"""
ss = s
s = s.split('\n')
x = [e.split(',') for e in s]
x = sorted(x, key=lambda x:int(x[-1].strip()))
s = '\n'.join([','.join(e) for e in x])
</code></pre>
<p>给你</p>