print ('Welcome to Calculator')
a = int(input('Enter your first value'))
b = int(input('Enter your second value'))
print ('''Addition - type 1
Subtraction - type 2
Multiplication - type 3
Division - type 4''')
procedure = input('Enter a option')
while (procedure != '1') or (procedure != '2') or (procedure != '3') or (procedure != '4'):
procedure = input('Please choose the correct option')
def process ():
if procedure == '1':
print (a+b)
elif procedure == '2':
print(a-b)
elif procedure == '3':
print (a*b)
elif procedure == '4':
print (a/b)
else:
print('There is some error in code')
process ()
In this, I want that whenever the value of the procedure is other than 1, 2, 3, 4 the loop goes on but in this the loop goes on forever. Please tell the error how to do it properly