Day 40
Number Guessing Game
"How many times will I write a code for this?"
This is what I said to myself when I was given my first exercise in python workout.
It was so funny to see an error at first. I forgot to convert input str to int.
#100DaysOfCode#pythonworkout#exercise
Day 42
* The Splat Operator
Summing numbers sounded easy and it actually is. But I lost track of how to implement a variadic function (one that takes a varying number of arguments). --> *args
#100DaysOfCode#pythonworkout#args#sum#python
Day 43
Summing varieties
An additional exercise on summing, revisiting:
- arguments with a default value
- simple conditional statement
- error try-exception
#100DaysOfCode#python#pythonworkout#sum
Day 47
Run timing
I could not stand another day without code. The break has lasted so long due to some damn excuses. I had to use my phone app (pydriod3) to kick off the coding.
if not one_run:
break
#100DaysOfCode#Python#pythonworkout
1/3: D64 of #100DaysOfCode with #Python
I'm finding my progress with Python is similar to fitness. I want to get to max fitness asap, but in reality it takes consistent commitment to showing up daily and taking care of all the little things - sleep, water, rest...
2/3: LEARNING
- Reviewed Tuples, Lists & Dictionaries
- #BBofSPP P14 Countdown
- #PythonWorkout Lists & Tuples Ex9
Understand advantage of #Python 's dynamic typing even while data is strongly typed a bit better.
Can't recommend @reuvenmlerner 's instruction any higher.