So, I created a simple program with an if and elif statement. However, no matter what I input, the code will read it as if I inputted A, which means no matter what it'll ask me to enter in a radians value. How could I go about fixing this?
import math
pi = math.pi
print("Do you wish to...")
print("(A)Convert radians to degrees.")
print("(B)Convert degrees to radians.")
choice = input(" ")
if choice == "A" or "a":
rads = int(input("Enter in your radians value:\n"))
degrees = rads * 180/pi
print(rads, "radians = ", degrees," degrees")
elif choice == "B":
degs = int(input("Enter in you degree value:\n"))
radians = degs * pi/180
print(degs, "degrees = ", radians," radians")