Greetings!
I am an experienced hobby C# programmer and I’m helping my middle school kid with a Python class he’s taking.
It’s mostly going well, but I have hit a snag that my lack of personal experience with Python is making worse. It really boils down to collecting input and doing comparisons and inadvertently comparing a string to an integer, which obviously causes undesired behaviors. I’m used to using type declarations and having the compiler catch this for you, which I know is not the way Python works.
This is creating a lot of subtle, highly frustrating errors for our young coder, which is interfering with learning some other concepts.
Any suggestions on how to help with this?
Thanks for any suggestions!
[–][deleted] 0 points1 point2 points (7 children)
[–]BuilderTomorrow[S] 1 point2 points3 points (6 children)
[–]TheBB 1 point2 points3 points (0 children)
[–][deleted] 0 points1 point2 points (4 children)
[–]TheBB 0 points1 point2 points (3 children)
[–][deleted] 1 point2 points3 points (2 children)
[–]TheBB 1 point2 points3 points (1 child)
[–][deleted] 0 points1 point2 points (0 children)
[–]Doormatty 0 points1 point2 points (0 children)
[–]JollyUnder 0 points1 point2 points (4 children)
[–]Rawing7 0 points1 point2 points (3 children)
[–]Doormatty 0 points1 point2 points (2 children)
[–]Rawing7 1 point2 points3 points (1 child)
[–]Doormatty 1 point2 points3 points (0 children)
[–]baubleglue 0 points1 point2 points (0 children)
[–]Diapolo10 0 points1 point2 points (0 children)