May-11-2017, 09:15 PM
Please use code tags. Without the indentation, it'd give an error to anyone who ran it... a syntax error.
Also, please give some more details about what isn't working about it. Are you getting errors? What are they? Or is your output just not what you expected it to be? In that case, what output DO you get?
Also, please give some more details about what isn't working about it. Are you getting errors? What are they? Or is your output just not what you expected it to be? In that case, what output DO you get?