Posts by Ferdy

@Ferdy

Ferdinand Moscaverified

Mechanical engineer, software developer, writer, machine learning and data scien...
Joined October 2023
1.5k Points46 Badges1 Connections6 Followers4 Following

Posts by Ferdy

Ferdyverified in Articles 5 min read
This is a continuation from part 1/2 https://coderlegion.com/1568/write-a-pseudocode-and-python-code-to-find-the-sum-of-numbers-divisible-by-4-part1 Table of Contents E. Divisibility by four rules 1. The long division 2. The modulo operator %...
post-cover-1570
Ferdyverified in Articles 3 min read
Pseudocode illustrates the procedure in natural language on how to achieve a goal. Pseudocode is important because it will allow us to see an overview of all tasks, recognize step by step how tasks are executed and the intent of each task. It is not ...
post-cover-1568
Ferdyverified in Articles 8 min read
Updated on: 2023-10-29 The exception 1 or error message "TypeError: 'int' object is not iterable" tells us that we did something wrong — trying to iterate on an int or integer object. TypeError 2 is an exception, when an operation is applied to ...
post-cover-28
Ferdyverified in Articles 7 min read
Reading the contents of a file is one of the skills one has to learn to know more about the language. We read a file to search for a word, phrase, number, or some string pattern, reformat it, print what is on it, etc. We can read all files in a dire...
post-cover-27
chevron_left

Latest Jobs

View all jobs →