Integers Come In All Sizes

Sort by

recency

|

401 Discussions

|

  • + 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)
    
  • + 0 comments

    a,a1,b,b1=int(input()),int(input()),int(input()),int(input()) print(pow(a,a1)+pow(b,b1))