How To Write A Loop In Python