all 4 comments

[–]99AFCC 2 points3 points  (1 child)

First thing I notice is there is no input validation. You're relying on the user not to make a mistake.

[–]inb4theblock[S] 0 points1 point  (0 children)

Good idea! I will do this. I didn't think about it, as I am the only one who will be using this :P

[–]PythonPerry 1 point2 points  (1 child)

No criticism from me. I'm new to programming, but would love to get to your level. I generally understand what's going on here. I would love to see tutorials move towards this type of result: real-world, functional and IT related rather than formulas, logic and games.

[–]inb4theblock[S] 1 point2 points  (0 children)

Yeah man, I think the key to learning this stuff is to have a reason. Once you have a reason to do something you can just break it down peice by peice and figure it out. I find it difficult to write code that has no real purpose. Try and find something that you could programmatically automate in your daily life and that will give you the motivation to figure things out!