We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
- Prepare
- Python
- Math
- Integers Come In All Sizes
- Discussions
Integers Come In All Sizes
Integers Come In All Sizes
Sort by
recency
|
371 Discussions
|
Please Login in order to post a comment
a,b,c,d = int(input()),int(input()),int(input()),int(input()) print(a**b + c**d)
a,b,c,d = eval(input()), eval(input()), eval(input()), eval(input())
print(pow(a,b)+pow(c,d))
2 lines of code , Hope it is helpfull to everyone.
import math a=int(input()) b=int(input()) c=int(input()) d=int(input()) print(pow(a,b)+pow(c,d))
a = int(input()) b = int(input()) c = int(input()) d = int(input())
print(pow(a,b)+pow(c,d))