Auto update prices


#1

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


#2

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


#3

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?


#4

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).