28 f.write(json.dumps(emojis))
29
30if __name__ == "__main__":
31 loop = asyncio.new_event_loop();32 asyncio.set_event_loop(loop)
33 loop.run_until_complete(emoji_thing())
34 loop.close()
Semicolons are not needed in Python unless using multiple statements in single line. Use of semi-colons add unnecessary clutter.
for x in range(10):
if input[x]:
i = x - 2;
x = i * i;
print(i);
for x in range(10):
if input[x]:
i = x - 2
x = i * i
print(i)