Download and watch free howto videos and many others

paste the URL address of video or song

Python Beginner Tutorial 7 - Clean Code and Exceptions

youtube

This tutorial covers an introduction to writing clean code. This video focuses on cleaning up our existing calculator program to make it more robust and easier to read. This video also introduces the for loop, loop control keywords "break," "continue" and introduces the "import" keyword to demonstrate time.sleep() and random.randint(). After watching this video you should be ready to start on the two challenges posed at the end of the video. Challenge 1: Random Calculator Modify the calculator program to use randint to run random calculations. Make this as random as you want so be creative!! Feel free to also use time.sleep() to give your program a more autonomous feel to it. Bonus points if you incorporate a for loop and loop control keywords. Remember to use the clean code strategies discussed in this video; if you have big blocks of code that look hard to read then try to fix it. Challenge 2: Rock, Paper, Scissors Game This idea was originally created by Zibzo and what he is posted https://forums.kjdelectronics.com/index.php?/topic/437-rock-paper-scissors-beginners-practice/. Try to write clean code and note that what was posted by Zibzo has room for improvement given what we learned in this video. Dedicated Discussion Thread: https://forums.kjdelectronics.com/index.php?/topic/441-python-beginner-tutorial-7-clean-code-and-exceptions/ Forum: https://forums.kjdelectronics.com/ Store: https://kjdelectronics.com Instagram: https://www.instagram.com/kjdelectronics/ Twitter: https://twitter.com/kjdElectronics Facebook: https://www.facebook.com/kjdelectronics/

Last download 12 hours ago

Python Beginner Tutorial 7 - Clean Code and Exceptions

youtube

This tutorial covers an introduction to writing clean code. This video focuses on cleaning up our existing calculator program to make it more robust and easier to read. This video also introduces the for loop, loop control keywords "break," "continue" and introduces the "import" keyword to demonstrate time.sleep() and random.randint(). After watching this video you should be ready to start on the two challenges posed at the end of the video. Challenge 1: Random Calculator Modify the calculator program to use randint to run random calculations. Make this as random as you want so be creative!! Feel free to also use time.sleep() to give your program a more autonomous feel to it. Bonus points if you incorporate a for loop and loop control keywords. Remember to use the clean code strategies discussed in this video; if you have big blocks of code that look hard to read then try to fix it. Challenge 2: Rock, Paper, Scissors Game This idea was originally created by Zibzo and what he is posted https://forums.kjdelectronics.com/index.php?/topic/437-rock-paper-scissors-beginners-practice/. Try to write clean code and note that what was posted by Zibzo has room for improvement given what we learned in this video. Dedicated Discussion Thread: https://forums.kjdelectronics.com/index.php?/topic/441-python-beginner-tutorial-7-clean-code-and-exceptions/ Forum: https://forums.kjdelectronics.com/ Store: https://kjdelectronics.com Instagram: https://www.instagram.com/kjdelectronics/ Twitter: https://twitter.com/kjdElectronics Facebook: https://www.facebook.com/kjdelectronics/

Last download 12 hours ago