Reformat some Python
Fix some very bizarrely laid-out code.
Start file
def fed(j):
n = sum([1000000000,
200000000,
30000000,
4000000,
500000,
60000,
7000,
800,
90,
j])
print('abc'+str(n)+'def')
End file
def fed(j):
n = 1234567890 + j
print('abc%ddef' % n)
View Diff
2,12c2,3
< n = sum([1000000000,
< 200000000,
< 30000000,
< 4000000,
< 500000,
< 60000,
< 7000,
< 800,
< 90,
< j])
< print('abc'+str(n)+'def')
---
> n = 1234567890 + j
> print('abc%ddef' % n)
Solutions by @_mhinz_:
Unlock 5 remaining solutions by signing in and submitting your own entry