Text based calculator project with is from the daily python projects that audit sulce (udemy instructor) puts out daily.
so i saw this and had a idea of how to do this with using the match case method and having the user have input of enter 2 numbers (seprate inputs) and a input for the operators.
so this morning i stop at the coffee shop to get some monster and coffee because we all need that coffee for early mornings start. i had a fire department function at 0900 hours this morning so i had taken my laptop because i went early before i had to leave for that. so i got to the station took my coffee and book bag in then sat down and work on that project.
while i was at the fucntion my phone went off for some emails so i saw he sent out another email to have the user create another calculator but have the Power (exponentiation) so i had to google that because i wasnt sure how to do that come to the realization that its just ** or pow() so i just added another case statement to take that input in it worked with out trouble.
feel good about myself in creating this it just shows that i am starting to pick up on this stuff little by little.
The above is the detailed content of created my first project. For more information, please follow other related articles on the PHP Chinese website!