The Solutions to the practice python exercise