Auto update prices


In Python, under the functions lesson “Taking a Vacation” is there anyway to make the prices of the hotels automatically update?


auto update the prices based on what? There are many things which are possible, but what do you have in mind?


In the example there were hotel prices, but they were just numbers from the example. Could I pick a real hotel and make it automatically update the prices for that hotel?


Sure, but that would massively complicate the program, you would need to scrape the price of a website. (or maybe there is an API you can use).