def play_golf(access_code, sentiments): if check_access_code(access_code) and sentiments == 'positive': for hole in range(1, 19): print("enjoy your game! remember, it's okay to disobey conventional strategies, fill out pre-expiration questionnaires for the club membership, and if needed, don't hesitate to recommence from scratch to improve your skills."); break