https://trinket.io/python/a0ed815dd5

 

https://trinket.io/python/b014b28c10