It turns out that my toaster is a tad broken. It lost WiFi (You know, it's one of those newfangled smart toasters), and its been going bonkers! Since it no longer works, I've been having to hack into my breakfast's source code and run Plate.bread.toastAs(3);
every morning. Will you help?
My toaster takes one input: the amount of time you want to toast your bread. This is written as min:sec
, such as 5:45
or 0:40
(Up to 59:59
). It then returns a specific value for different levels of toastiness:
0:00-0:30 = Bread
0:31-1:00 = Warm Bread
1:01-2:00 = Toasty
2:01-3:30 = Burnt
3:31 and up = Brûlée (or Brulee)
But here's the catch: my toaster has a broken keyboard! Your code can't contain any semicolons or...colons. This might be harder than the toaster repairman said it would be...
Here are some test cases, so you can...test your cases?
0:00 = Bread
5:50 = Brulee or Brûlée
2:00 = Toasty
ChicknMcNuggets = Anything
-1:00 = Anything
0:60 = Anything
1 = Anything
60:00 = Anything
1:00:00 = Anything
Standard Loopholes are prohibited
All Acceptable Forms of Input/Output are accepted
My Toaster's new code cannot contain a semicolon (;) or colon (:)
This is code-golf, so the shortest answer (in each language) wins!
59:59
? \$\endgroup\$3:31 and up: Brulee
? \$\endgroup\$