menu
ceci87
Be familiar with Python Star this Commitment

ceci87 commits to:
At the end of this week be able:
- to create while and for loop

- Practice more exercise
- Use List and Dictionary
- Create a function range
- Create a function that group list, while, if statement.
No more reports due
Details
My Commitment Journal
alfre2v
alfre2v
May 15, 2022, 1:38 PM
I'm happy with your progress this week. :)
You clearly worked hard and did the exercises. I'm very exited to see your progress.

To summarize what I observed this week:

1. The function max was ok, but had issues (not handle of negative numbers), we worked that out together. You need to improve how you test your code for special cases.

2. The function range was well done. You successfully handled your first exception. You also successfully used varadic args (*args). I also introduced you to using `raise Exception('Error: bla')` as a better alternative to `print('Error'); return None`.

3. You improved your use of functions, but some misunderstanding of the return statement is still there. We practiced together the return statement and I tried to make a point that a function always returns a value, even if it's just a None value.

4. We reviewed together how the `if (condition)` statement always implicitly convert to condition to a boolean, and that can even be for variables. Furthermore, we saw that a `if (variable)` is converted to boolean depending on what is the zero (null element) of the set the variable belongs to... Remember: 0 is the null element of the integer set, () is the null element of the set of all tuples, etc... (And None, is the null element of everything in Python).

5. I recommend you practice taking notes, and thinking about what you have learned, then at the end of the week exercise putting your observations in writing. The most important ability for a person that works with knowledge is the ability to integrate the new information quickly and being able to express it in its own words.

Kisses
ceci87
ceci87
May 15, 2022, 8:17 AM
Better understanding of function and while loop.
More practice need be done on python.
    This Commitment has no photos.
Displaying 1-1 of 1 result.
May 10 to May 13
Successful
Success
Success

alfre2v
alfre2v
- Referee approval report
I think you reached your goals of this commitment. Keep the good work.
ceci87
ceci87
- Committed user success report
Better understanding of function and while loop. More practice need be done on python.
Referee
Supporters
This Commitment doesn't have any Supporters yet!
.
+
Server IP 10.0.0.173
Portal Id 0
User Id 0
Unix Timestamp 1716122625
Current Timezone GMT
Server encoding: utf-8
Assets folder: https://static.stickk.com/yii-assets/dcbc9e4e
Payment Type PRODUCTION
Your feedback has been sent. Thank you!
This website uses cookies to ensure you get the best experience on our website. Read our Privacy Policy
Loading...