Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 2

Weekly Progress Report 2

Focus: Learning Python Functions and if-else


Statements
Tasks Completed:
 Successfully installed and configured Python programming environment on
my local machine.
 Completed online tutorials and practiced writing basic Python functions.
 Learned about different function arguments and return values.
 Understood the concept of scope and local vs. global variables within
functions.
 Mastered the syntax and usage of if-else statements for conditional execution.
 Implemented if-else statements in various scenarios, including checking user
input and data validation.
 Designed and coded Python functions that utilize if-else logic for decision-
making.
Milestones Achieved:
 Successfully built a simple Python program that utilizes functions and if-else
statements to calculate and display the area of a triangle based on user input.
 Created a Python function that checks the validity of a phone number format
based on defined criteria.
 Developed a program that uses nested if-else statements to determine the
eligibility of applicants for a scholarship based on academic performance and
financial need.
Significant Contributions:
 Applied learnings from functions and if-else statements to contribute to an
ongoing collaborative project by writing reusable code modules for user input
validation and data processing.
 Offered assistance to teammates facing difficulties with understanding
function arguments and conditional logic in their code.
 Shared newly acquired knowledge through code snippets and examples
during internal team discussions.
Challenges and Hurdles:
 Initially struggled with debugging nested if-else statements due to unexpected
outcomes caused by incorrect indentation and scoping issues.
 Encountered difficulties understanding the concept of recursion within
functions and its practical applications.
 Faced challenges while working with complex data structures like lists and
dictionaries in conjunction with functions and conditional statements.
Approaches and Solutions:
 Used print statements and step-by-step execution to track the flow of logic
within nested if-else statements and identify indentation errors.
 Researched and practiced writing recursive functions for solving simple
problems like calculating factorials to gain a better understanding.
 Consulted online resources and textbooks for detailed explanations and
examples of working with data structures within functions and conditionals.
Lessons Learned:
 The importance of proper indentation and scope management when writing
complex logic with functions and conditionals.
 The power of recursion and its potential for solving repetitive tasks more
efficiently.
 The value of understanding data structures and their interaction with functions
to manipulate and analyze information effectively.
Future Goals:
 Deepen understanding of advanced function concepts like lambdas and
closures.
 Explore object-oriented programming in Python and practice building classes
and methods.
 Apply functions and conditionals to solve more complex real-world problems
in practical applications.
I believe this report accurately reflects my progress and commitment to learning
Python. I am excited to continue my journey and delve deeper into the realm of
Python programming, confident that the challenges faced this week will serve as
valuable stepping stones for future growth and success.

You might also like