Day 10 of documentating my learning journey

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • MyrinNew
    Senior Member
    • Feb 2024
    • 5175

    #1

    Day 10 of documentating my learning journey

    What I learnt Today

    1.Build a simple calculator app project.

    1. Tracked,commited and pushed the project to public repo python-concepts.


    About What I Did Today

    1.Allow the user to enter 2 numbers for it to calculate.

    2.By default input returns a atring so we have to convert the input to a float or integer.

    3.Create a short menu that displays the operations that our project will do.

    4.Create an if-else decision condition so that the operations we pass thwm in the elif and else conditions.

    5.Run our python script.


    Challenges I faced today

    1.I didn't know that by default input whatever the value by deafult it returns a string.


    How i solved this challenge

    Converted the input of the user to a float.


    Resources I used


    1.Refresher python series by Bonaventure Ogeto on youtube


    What's Next

    1st week of Python series is done next I'll learn about operators and Expressions




    More...
Working...