for the python practice i have solved this simple python codes for basic logic building. follow up if you found this useful