Printing A Snake Code In Python