i've looked over your code and i do not see the error, that does not mean there is not one, but i am a Microsoft VS programmer also. What i have found over the years is that MS has a tendency so superset the instruction set for a language--that was the crux of the Sun VS Microsoft legal action over Java years ago. i would suggest you to back to the standard reference, and not MS's docs, and look over the syntax of the instructions you use. there may be a surprise hidden within. if not then i am just showing my extreme bios against the software giant.
Out on HF and heard nobody, but didn't call CQ? Nobody heard you either. 73 de N7GH
Hi Les, thank you for your response! I found out I was making a terribly stupid mistake and was using PyPy2 instead of Python3 on HackerRank. Facepalm.
I'm a coding beginner so unfortunately, the majority of your suggestion went over my head haha. Though, I will google certain terms and see if I can make sense of it and try to learn from it. Thanks again!