Skip to content

Commit

Permalink
add EOL to Counting, fix some stuff at Fib
Browse files Browse the repository at this point in the history
  • Loading branch information
Rudxain committed Oct 26, 2022
1 parent ea8fdee commit 94ff5ad
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 2 deletions.
2 changes: 1 addition & 1 deletion examples/Counting.rickroll
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ take me to ur heart
give index up 0
together forever with index is less than 99
give index up index + 1
i just wanna tell u how im feeling index
i just wanna tell u how im feeling str(index) + "\n"
say goodbye
say goodbye
15 changes: 14 additions & 1 deletion examples/Fibonacci.rickroll
Original file line number Diff line number Diff line change
@@ -1,9 +1,22 @@
take me to ur heart
gonna Fib n
and if u ask me how im feeling n is greater than 1
give a up 0
give b up 1

give i up 1
together forever with i is less than n
give temp up a
give a up b
give b up temp + b
saygoodbye
give n up b
saygoodbye

when i give my n, it will be completely
saygoodbye

# arbitrary constant
# arbitrary constant ;)
give NICE up 69
give num up 0
together forever with num < NICE
Expand Down

0 comments on commit 94ff5ad

Please sign in to comment.