Magzter Gold (Sitewide CA)
APC (Digital)

APC (Digital)

1 Issue, April 2019

Also available on
Zinio Unlimited logo
1-month free trial

Get unlimited access to this article, this issue, + back issues & 5,000+ other magazines.

Renews at just $8.99/month after trial.

Cancel anytime.
Learn more

Python for Machine Learning Part 2: Loops & Functions

Darren Yates continues this new Python series with a look at how to use loops and functions in your code.
Python for Machine Learning Part 2: Loops & Functions
In the last issue (APC #465), we introduced you to the world’s favourite programming language, looking at variables, printing to the screen and using the if-else statement. This month, we’ll look at the next set of building blocks called loops and functions. Python is popular because it’s extensible — you can define new code blocks called ‘functions’ and create new functionality. Loops are also vital to coding because they allow you to repeat the execution of lines of code without having to write them over and over. GET THE SOFTWARE Just briefly, you need at least Python version 3.6 (3.7 is fine too) for this series — we’ll use the Windows version for convenience, but there are also Linux and macOS versions as well. Download it free from the Python.org…
You're reading a preview of
APC (Digital) - 1 Issue, April 2019

DiscountMags is a licensed distributor (not a publisher) of the above content and Publication through Zinio LLC. Accordingly, we have no editorial control over the Publications. Any opinions, advice, statements, services, offers or other information or content expressed or made available by third parties, including those made in Publications offered on our website, are those of the respective author(s) or publisher(s) and not of DiscountMags. DiscountMags does not guarantee the accuracy, completeness, truthfulness, or usefulness of all or any portion of any publication or any services or offers made by third parties, nor will we be liable for any loss or damage caused by your reliance on information contained in any Publication, or your use of services offered, or your acceptance of any offers made through the Service or the Publications. For content removal requests, please contact Zinio.

© 1999 – 2025 DiscountMags.com All rights reserved.