Broken shift key

A challenge by lukegustafson avatar lukegustafson

Description

Oh no! I have a coding interview and my keyboard’s shift key is stuck down! The characters I can use are [a-zA-Z~!@#$%^&*(){}|+?"<>:_\r\n ] (I can type lowercase with the caps lock key). It’s hard to write code without an equal sign, but my interviewer will be really impressed when I find a way!

Print the first 20 tribonacci numbers. The tribonacci numbers are defined by T(0) = T(1) = 0, T(2) = 1, and T(i+3) = T(i+2) + T(i+1) + T(i).

Leaderboard

Author Bytes
#1 HPWiz avatar HPWiz 75
#2 zacjl avatar zacjl 76
#3 lynn avatar lynn 78
#4 AlephSquirrel avatar AlephSquirrel 79
#4 lukegustafson avatar lukegustafson 79
#6 Mukundan314 avatar Mukundan314 91
#7 error256 avatar error256 95
#8 EroticShiveringKingBanana avatar EroticShiveringKingBanana 102
#9 hallvabo avatar hallvabo 107
#10 Bulmenisaurus avatar Bulmenisaurus 122
Challenge ended 2 days, 3 hours ago ago
This challenge has ended. You are free to submit more solutions but they won't count for scoring.