With python

For fast calculations I use Python, I just like it better than a calculator.


Got to go look at how some people did it Unity, as I am a little out of practice. ^^

Hi there,

Python is indeed very fast! There are some examples in the forum about how people did this in Unity but if you have any questions about this throughout the course, please don’t hesitate to ask!

Kind regards,

Hi there, I also used python to do a quick calculation. This is the code I used:


def exp( base, exponent):

return base**exponent

Main Program

b = int(input())

e = int(input())

test = exp(b,e)


My Output was: 16777216 as well.

Privacy & Terms