Integers Come In All Sizes - Python math solution. The following shows how to solve the HackerRank Integers Come In All Sizes Python Math problem.
Code:
a = int( input() )
b = int( input() )
c = int( input() )
d = int( input() )
print( pow(a, b) + pow(c, d) )
Test Input:
9
29
7
27
Test Output:
4710194409608608369201743232