# What is wrong with my code?

import math as m
import numpy as py
x=‘Hii Dude’
print(x.center(60))
print()
x=‘Do u need any help’
print(x.center(60))
print()
y=‘yes’
l=‘no’
if x==y:

``````q='Okay choose from given options'
print(q.center(60))
print("\n1  :  Square of a number \n2  :  Cube of a number \n3  :  Power of a number \n4  :  Square root of a number \n5  :  Odd numbers between a and b\n6  :  Even numbers between a and b\n7  :  Prime numbers between a and b\n8  :  Greatest integer function \n9  :  Simple addition and substraction \n10 :  Sum of numbers between a and b \n11 :  Table of a number\n12 :  Reminder upon dividing\n")
print()
if o==1:
x=int(input("Enter the number whose square has to be calculated  :  "))
print()
y=x**2
print('Result  :  ',y)
elif o==2:
x=int(input("Enter the number whose cube has to be calculated  :  "))
print()
y=x**3
print('Result  :  ',y)
elif o==3:
x=int(input("Enter the base number  :  "))
print('\n')
y=int(input("Enter power of   : "))
z = x**y
print('\n')
print('Result : ',z)
elif o==4:
x=int(input("Enter the number whose squareroot has to be calculated : "))
y=m.sqrt(x)
print()
print('Result : ',y)
elif o==5:
x=int(input("Enter number a  : "))
print()
y=int(input("Enter number b  : "))
print()
for z in range(x,y+1):
if z%2 !=0:
print(z,end=",")
print()
elif o==6:
x=int(input("Enter number a  : "))
print()
y=int(input("Enter number b  : "))
print()
for z in range(x,y+1):
if z%2==0:
print(z,end=",")
print()
elif o==7:
x= int(input("Enter lower : "))
y= int(input("Enter upper : "))

for z in range(x,y + 1):
if z > 1:
for i in range(2,z):
if (z % i) == 0:
break
else:
print(z)
``````

elif x==l:
q=‘Okay’
print(q.center(60))

else:
q=‘Wrong input’
print(q.center(60))

print()
p=’------------------- Program Finished -------------------’
print(p.center(60))

Unless you expect us to edit your code with Photoshop, please don’t post
screenshots of your code. It is not nice to expect us to retype your
code from scratch, and using a screenshot makes it difficult, or
impossible, for the blind and visually impaired who may be using