Burrrrrrrp

Published by Werdna in

Create a function that returns the string "Burp" with the amount of "r's" determined by the input parameters of the function.

Examples

longBurp(3) ➞ "Burrrp"

longBurp(5) ➞ "Burrrrrp"

longBurp(9) ➞ "Burrrrrrrrrp"

Notes

  • Expect $num to always be >= 1.
  • Remember to use a capital "B".
  • Don't forget to return the result.
Watch a quick demo on how Edabit works.