Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Leer challenge 1 | test challenge
test daily challenge

Veeg om het menu te tonen

book
challenge 1

Taak

Swipe to start coding

Implement a basic calculator that can evaluate a mathematical expression provided as a string input. The calculator should support the following operations: addition (+), subtraction (-), multiplication (*), division (/), and parentheses for grouping. The calculator should handle operator precedence correctly and be able to process expressions that include whitespace.

Examples

Input:

python

Output

python:

Switch to desktopSchakel over naar desktop voor praktijkervaringGa verder vanaf waar je bent met een van de onderstaande opties
Was alles duidelijk?

Hoe kunnen we het verbeteren?

Bedankt voor je feedback!

Sectie 1. Hoofdstuk 1

Vraag AI

expand
ChatGPT

Vraag wat u wilt of probeer een van de voorgestelde vragen om onze chat te starten.

book
challenge 1

Taak

Swipe to start coding

Implement a basic calculator that can evaluate a mathematical expression provided as a string input. The calculator should support the following operations: addition (+), subtraction (-), multiplication (*), division (/), and parentheses for grouping. The calculator should handle operator precedence correctly and be able to process expressions that include whitespace.

Examples

Input:

python

Output

python:

Switch to desktopSchakel over naar desktop voor praktijkervaringGa verder vanaf waar je bent met een van de onderstaande opties
Was alles duidelijk?

Hoe kunnen we het verbeteren?

Bedankt voor je feedback!

Sectie 1. Hoofdstuk 1
Switch to desktopSchakel over naar desktop voor praktijkervaringGa verder vanaf waar je bent met een van de onderstaande opties
Onze excuses dat er iets mis is gegaan. Wat is er gebeurd?
some-alt