dde272c4b8
i18n - Build Validation / Validate i18n Builds (24) (push) Has been cancelled
CI - Node.js / Lint (24) (push) Has been cancelled
CI - Node.js / Build (24) (push) Has been cancelled
CI - Node.js / Test (24) (push) Has been cancelled
CI - Node.js / Test - Upcoming Changes (24) (push) Has been cancelled
CI - Node.js / Test - i18n (italian, 24) (push) Has been cancelled
CI - Node.js / Test - i18n (portuguese, 24) (push) Has been cancelled
CD - Docker - GHCR Images / Build and Push Images (push) Has been cancelled
38 lines
499 B
Markdown
38 lines
499 B
Markdown
---
|
|
id: 6ec8578710ffa3471b74888e
|
|
title: Building a Basic Calculator
|
|
challengeType: 11
|
|
videoId: vA10XU1O3QQ
|
|
dashedName: building-a-basic-calculator
|
|
---
|
|
|
|
# --description--
|
|
|
|
In this video, you will build a basic calculator program that can perform addition, subtraction, multiplication, and division operations.
|
|
|
|
# --questions--
|
|
|
|
## --text--
|
|
|
|
Which function is used to convert a string to an integer?
|
|
|
|
## --answers--
|
|
|
|
`convert()`
|
|
|
|
---
|
|
|
|
`str()`
|
|
|
|
---
|
|
|
|
`integer()`
|
|
|
|
---
|
|
|
|
`int()`
|
|
|
|
## --video-solution--
|
|
|
|
4
|