Project

Honest Calculator

Medium
2201 completions
~ 12 hours
4.2

Learn how to read flowcharts to hone your understanding of loops, conditions, and algorithms. It will allow you to write your own algorithms. This skill also prevents multiple changes from occurring during production.

Provided by

JetBrains Academy JetBrains Academy

About

The International Union Against Idleness (IUAI) announced a competition for an application that would motivate users. There are prizes involved. Since you like competing and know a little bit about programming, you asked your friend to prepare an interesting algorithm for a quick buck. Unfortunately, you weren't clear enough, and instead of a ready-made program, a friend prepared a flowchart of Honest Calculator. You will have to put some effort into assembling it.

Training project icon

Training project

This project allows you to practice and strengthen your coding skills, helping you get ready for more advanced tasks ahead.

What you'll learn

Once you choose a project, we'll provide you with a study plan that includes all the necessary topics from your course to get it built. Here’s what awaits you:
Perform the first calculations and check if users know how to handle zero.
Sometimes the numbers are so big that you have to store them. Implement this feature!
Now, it is time to tell users what the calculator thinks about equations.
Electricity costs money, the processor overheats, the memory fills up, so you have to watch what users want to store.

Reviews

John Gilger avatar
John Gilger
4 months ago
I learned to use lists or dicts for prompt collections, to encapsulate repeated patterns into helper functions, and to use meaningful function names and docstrings.
Guillaume Konen avatar
Guillaume Konen
5 months ago
Good exercise to practice rigour and reading a flowchart. Implement exactly what it is asked, need to think about some edge cases. Can be a little frustrating
Gabriele Sinusaite
5 months ago
I learnt how to declare functions, how to use nested ifs, and most importantly, how to read graphs to determine algorithms in Computer Science

4.2

Learners who completed this project within the Python Developer course rated it as follows:
Usefulness
4.3
Fun
4.0
Clarity
4.2