No products in the cart.

Given two integers x and n …

CBSE, JEE, NEET, CUET

CBSE, JEE, NEET, CUET

Question Bank, Mock Tests, Exam Papers

NCERT Solutions, Sample Papers, Notes, Videos

Given two integers x and n , compute x to the power n. Write the python code for it.
  • 1 answers

First Name 3 years, 10 months ago

x = int(input("Enter value of x : "))
n = int(input("Enter the value of n : "))
print("xⁿ = ", x**n)
http://mycbseguide.com/examin8/

Related Questions

Define packages
  • 0 answers
Write a program for swapping two numbers
  • 1 answers
What is alu
  • 1 answers
Write a program for swapping two numbers?
  • 0 answers

myCBSEguide App

myCBSEguide

Trusted by 1 Crore+ Students

Test Generator

Test Generator

Create papers online. It's FREE.

CUET Mock Tests

CUET Mock Tests

75,000+ questions to practice only on myCBSEguide app

Download myCBSEguide App