Class 10 Exam  >  Class 10 Questions  >  Write a program to input two integer numbers ... Start Learning for Free
Write a program to input two integer numbers x and y from the user and calculate x raise to the power y.?
Most Upvoted Answer
Write a program to input two integer numbers x and y from the user and...
Community Answer
Write a program to input two integer numbers x and y from the user and...
#Entering base number from user
x=int (input("Enter base number:))
#Entering exponent from user
y=int(input("Enter exponent :"))
#Finding x^y
z=x**y
#Displaying x^y
print("x^y is:", z)
Attention Class 10 Students!
To make sure you are not studying endlessly, EduRev has designed Class 10 study material, with Structured Courses, Videos, & Test Series. Plus get personalized analysis, doubt solving and improvement plans to achieve a great score in Class 10.
Explore Courses for Class 10 exam

Top Courses for Class 10

Write a program to input two integer numbers x and y from the user and calculate x raise to the power y.?
Question Description
Write a program to input two integer numbers x and y from the user and calculate x raise to the power y.? for Class 10 2024 is part of Class 10 preparation. The Question and answers have been prepared according to the Class 10 exam syllabus. Information about Write a program to input two integer numbers x and y from the user and calculate x raise to the power y.? covers all topics & solutions for Class 10 2024 Exam. Find important definitions, questions, meanings, examples, exercises and tests below for Write a program to input two integer numbers x and y from the user and calculate x raise to the power y.?.
Solutions for Write a program to input two integer numbers x and y from the user and calculate x raise to the power y.? in English & in Hindi are available as part of our courses for Class 10. Download more important topics, notes, lectures and mock test series for Class 10 Exam by signing up for free.
Here you can find the meaning of Write a program to input two integer numbers x and y from the user and calculate x raise to the power y.? defined & explained in the simplest way possible. Besides giving the explanation of Write a program to input two integer numbers x and y from the user and calculate x raise to the power y.?, a detailed solution for Write a program to input two integer numbers x and y from the user and calculate x raise to the power y.? has been provided alongside types of Write a program to input two integer numbers x and y from the user and calculate x raise to the power y.? theory, EduRev gives you an ample number of questions to practice Write a program to input two integer numbers x and y from the user and calculate x raise to the power y.? tests, examples and also practice Class 10 tests.
Explore Courses for Class 10 exam

Top Courses for Class 10

Explore Courses
Signup for Free!
Signup to see your scores go up within 7 days! Learn & Practice with 1000+ FREE Notes, Videos & Tests.
10M+ students study on EduRev