Python If Else Hackerrank Solution Github