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
|
410 Discussions
|
Please Login in order to post a comment
a = int(input()) b = int(input()) c = int(input()) d = int(input())
print(a**b+c**d)
For Python3 Platform
This problem demonstrates one of the uniqueness of python compared to other languages
a,b,c,d=map(int, [input() for _ in range(4) ]) print(pow(a,b)+pow(c,d))