Python User Inputs Javascript Interview