talkpython / python-for-absolute-beginners-course

Code samples and other handouts for our course.
https://training.talkpython.fm/courses/explore_beginners/python-for-absolute-beginners
MIT License
2.3k stars 1k forks source link

Ch06 question #2

Closed Morantz closed 4 years ago

Morantz commented 4 years ago

Should I be separating this exercise into more functions:

My code is at : https://github.com/Morantz/python-for-absolute-beginners-course/blob/master/practices/ch06-organizing-code-with-functions/guessingfunctions.py

Thanks! Dan

mikeckennedy commented 4 years ago

Looks about right to me! I just added solutions here:

https://github.com/talkpython/python-for-absolute-beginners-course/tree/master/solutions

You can compare and see but they are similar. Well done.