From 3cf39c5730243c89d05c2265be1a29fb47ca377c Mon Sep 17 00:00:00 2001 From: Chi Nguyen Date: Tue, 6 Oct 2020 02:52:14 +0000 Subject: [PATCH] Done. --- parrot.rb | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/parrot.rb b/parrot.rb index 559309841..f74e50a5b 100644 --- a/parrot.rb +++ b/parrot.rb @@ -1,2 +1,7 @@ # Create method `parrot` that outputs a given phrase and # returns the phrase +def parrot(phrase = "Squawk!") + a = phrase + puts phrase + a +end \ No newline at end of file