Practice ยท 1 of 3
Extract the Greeting
Three print lines greet three people. Refactor: write greet(name, balance) that returns the greeting string, and use it for all three people. Keep the printed lines IDENTICAL (three lines).
Difficulty: beginner
Press Submit to check your solution.
Back to lesson: Practice: Refactoring Drills