question 2 :
(a)
x_values = []
y_values = []
for x in range(0,51):
for y in range(0,51):
if ((86 * x) - (25 * y)) == 16 :
x_values.append(x)
y_values.append(y)
print('x : ',x_values)
print('y : ',y_values)
(b)
n=int(input("Enter an integer:"))
print("The divisors of the number are:")
for i in range(1,n+1):
if(n%i==0) and (i%2==0):
print(i)
using python 1. A NYC tour bus company that owns one coach bus sells city-tour tickets...