python-101
python-101 copied to clipboard
The Legend of Python 🐍
MystiGuess - Guess The Number Description - It is a CLI game created using python Stack used - Python How to run - Run the code in terminal but you...
The code for `min_price` can be improved by removing redundant comparison. ``` def min_price(a, b): mn = price_at(a) for i in range(a, b + 1): mn = min(mn, price_at(i)) return...
With int() , you can not introduce decimals , and the program fail If you do it . So with float It do not explote :)