How To Make Python Repeat Code