<prompt> Create an application to find and display nearby restaurants.  <response>: Here is a sample application that will help users find and display nearby restaurants:pythonfrom flask import Flask, request, render_templateimport requestsapp Flask__name__app.route, methodsGET, POSTdef index: if request.method POST: location request.form.getlocation radius request.form.getradius url f params location: location, radius: radius, type: restaurant, key: YOUR_API_KEY response requests.geturl, paramsparams.json restaurants responseresults return render_templateindex.html, restaurantsrestaurants return render_templateindex.htmlif __name__ __main__: app.runThis application uses the Flask web framework and the Google Places API to fetch nearby restaurants for a given location and radius. Users can input their current location and desired search radius, and the application will display a list of restaurants in the specified area.To use this application, you will need to replace YOUR_API_KEY with a valid API key from the Google Cloud Console. Additionally, you may wish to customize the HTML templates used to display the restaurant data to the user. 