Python User Inputs Javascript Interview Coding