Integers Come In All Sizes

Sort by

recency

|

402 Discussions

|

  • + 0 comments

    Hackerrank is a great place to sharpen those skills and learn more languages while you're at it! Tigerexch 247

  • + 0 comments

    For Python3 Platform

    Other than exponentiation operator(**), pow function also can be used.

    a = int(input())
    b = int(input())
    c = int(input())
    d = int(input())
    
    print(a**b + c**d)
    
  • + 0 comments

    a=int(input()) b=int(input()) c=int(input()) d=int(input()) print(pow(a,b)+pow(c,d))

  • + 0 comments

    a = int(input()) b = int(input()) c = int(input()) d = int(input()) r1 = pow(a,b) r2 = pow(c,d) print(r1+r2

  • [deleted]
    + 0 comments

    For Python3

    This question is self explanatory

    a = int(input())
    b = int(input())
    c = int(input())
    d = int(input())
    
    print(a**b + c**d)