if statement not printing correctly when adding elif
if statement not printing correctly when adding elif Question: I wrote the following code to create a url from users choice, def create_parameter_url(weather_data): list_parameters = str(input(‘Would you like to see available parameters? y/n n>>>’)) for i in range(len(weather_data[‘resource’])): if list_parameters == ‘y’: print(i+1 , ":" , weather_data[‘resource’][i][‘title’] , weather_data[‘resource’][i][‘summary’]) choose_parameter = str(input(‘nEnter the index of …