Edaaaaabit

Published by Someone1 in

Write a function that takes an integer and returns a string with the given number of 'a's in Edabit.

Examples

Edaabit(5) ➞ "Edaaaaabit"

Edaabit(0) ➞ "Edbit"

Edaabit(-3) ➞ ""

Edaabit(12) ➞ "Edaaaaaaaaaaaabit"

Notes

  • You'll only be given integers as test input.
  • The test will also contains negative values, in this case you should return an empty string
Watch a quick demo on how Edabit works.