Skip to content

Sum of Two Integers

Sar Champagne Bielert edited this page Apr 8, 2024 · 6 revisions

Unit 1 Session 1 (Click for link to problem statements)

U-nderstand

Understand what the interviewer is asking for by using test cases and questions about the problem.

  • Do I need to modify the provided function?
    • No.

P-lan

Plan the solution with appropriate visualizations and pseudocode.

General Idea: Use the sum function to calculate a sum, save it to a variable, then print that to the console.

I-mplement

summed = sum(13, 27)
print(summed * 2) # Output: 80
Clone this wiki locally