Lecture 2: Python Functions and Working with Files
- Branching with conditional statements and loops
- Write reusable code with functions
- Working with the OS & filesystem
- Assignment and course forum walkthrough
Please use this thread for asking questions. Upvote questions by pressing the “Like” (heart) button. We will answer 5-10 highest upvoted questions and the rest will be answered by the community and course team. If you see a question you know the answer to, please add an answer to help others.
can’t wait for the next one!!
also, when would the results of the 1st assignments be out?
Give me a like if you are here!
5 posts were split to a new topic: Short keys for Jupyter Notebooks?
5 posts were split to a new topic: Using variables inside functions?
is it necessary to give indentation while writing variables on separate lines as in the example of EMI question?
you will be conducting training for advanced topics ? Topics just now shown in the list below … recursion etc.
CSV module explain shortly.
Video streaming is paused …
Sir without using files, cant we do data anaylsis?
How to include one file in multiple new files? reusing common functions in new code files?
Kindly give some exercise on working with Files…
commit () is not working for some us , that issue is already raised in the fist assignment and in the lecture as well . that why we submitted links like colab, ect.
You can click commit above in the toolbar. It is also working without importing jovian. Just have to enter API KEY
Sir, you explained functions very well. Kindly tell us, how function modules are written ? I mean a separate module file, having all functions. Thanks
Yes, it is necessary. You need to keep the variable inside the function so that it is in the bounds of the function, otherwise it can’t be accessed by the function.
Completed the tour analysis exercise in functions topic