Skip to content

Conversation

@takashivan
Copy link
Member

No description provided.

oneroyalace and others added 8 commits January 13, 2026 18:29
GitHub Classroom: Sync Assignment
GitHub Classroom: Sync Assignment
Added code at the bottom of calculator.py that prints an explanation message, calls the multiply function with arguments 5 and 6, and prints the result. This demonstrates how to use the calculator functions.
Add example code demonstrating multiply function usage
Added three new functions to calculator.py:
- square: takes a single number and returns it raised to the power of 2
- cube: takes a single number and returns it raised to the power of 3
- square_n_times: takes a number and n, squares the number n times sequentially, and returns the sum of all intermediate values
@takashivan takashivan closed this Jan 14, 2026
@takashivan takashivan deleted the calculator2 branch January 14, 2026 00:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants