Python
import numpy as np


x_values = np.array([42.6, 50.7, 52.025, 53.475, 64.65, 70.45, 76.9, 77.875, 78.4, 83.425, 85.975])
y_values = np.array([21000, 18132, 17044, 15762, 4493, 2234, 950, 672, 604, 228, 108])


x_c = float(input("Enter your 1 band score: "))


y_c = np.interp(x_c, x_values, y_values)

print(f'Your rank is predicted to be is {y_c}')
line 8, in <module>
    x_c = float(input("Enter your 0.5 band score: "))
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ValueError: could not convert string to float: ''