Rally Health interview question

How do you generate an 8 character password using Python