You are viewing a single comment's thread. Return to all comments →
Trying to do it with the least amount of code…
a, b, c, d = map(int, [input() for _ in range(4)]) print(a**b + c**d)
I don't really like using input(), so at first I had the slightly longer…
input()
import sys a, b, c, d = map(int, sys.stdin.read().split()) print(a**b + c**d)
Seems like cookies are disabled on this browser, please enable them to open this website
Integers Come In All Sizes
You are viewing a single comment's thread. Return to all comments →
Trying to do it with the least amount of code…
I don't really like using
input()
, so at first I had the slightly longer…