Answered step by step
Verified Expert Solution
Question
1 Approved Answer
I am trying to make an exponent function with inputs to use as the numbers, however, I can't seem to get the inputs linked with
I am trying to make an exponent function with inputs to use as the numbers, however, I can't seem to get the inputs linked with the function correctly. What am I doing wrong?
Hello World Itello World py HelloWorld file Edit View Navigate Code Betector Run Tools vcs Window Help Hello World HelloWorld.py Hello world base_nun - float(input("Enter base number: ")) pow_num = float(input("Enter power number: ')) det raise_to_power(base_nus, pow_num): result - 1 for index in range (pon_num) result - result * base nun return result 11 12 print (raise to power) Run Helo world C:\Usersbs alr\Pychar Projects HelloWorld\venv\scripts/python.exe C:/Users/bsalm/PycharuProjects/HelloWorld/HelloWorld.py Enter base number: Enter power number:Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started