Integers Come In All Sizes

Sort by

recency

|

410 Discussions

|

  • + 0 comments

    a = int(input()) b = int(input()) c = int(input()) d = int(input())

    print(a**b+c**d)

  • + 0 comments

    For Python3 Platform

    This problem demonstrates one of the uniqueness of python compared to other languages

    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 ())
    
    a_power = (a ** b)
    c_power = (c ** d)
    ac_sum = (a_power + c_power)
    print (ac_sum)
    
  • + 0 comments

    a,b,c,d=map(int, [input() for _ in range(4) ]) print(pow(a,b)+pow(c,d))

  • + 0 comments
    a,b,c,d = [int(input()) for _ in range(4)]
    print(pow(a,b) + pow(c,d))