Skip to main content

Command Palette

Search for a command to run...

Calculator in python

Updated
1 min readView as Markdown

Link to see the code:

https://youtu.be/e9Pe9f9mUVc

Problems that I encountered

  1. To take multiple inputs to calculate

  2. Understanding "try" keyword

  3. How to take input in the python using "input"

Functions that I have used

  1. If choice in try choice: Is used as a "use case" statement

  2. if elif : conditional statement

  3. continue , break Statement : continue :- to take control back to the previous function

    break:- It is used to break the loop and get the control out of the flow .

  4. while : is a iterative loop

  5. print() and input() function

  6. Airthmetic operators:- + - * /

  7. list () and map() function is used to take inputs and map() maps the list

What I learned

  1. How to take multiple inputs

  2. What is the use of the above given functions

More from this blog

Let see

16 posts