From 77d1c2673679240cc5c7b9f8d20f37a0525379a1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ricardo=20Fern=C3=A1ndez=20Serrata?= <76864299+Rudxain@users.noreply.github.com> Date: Wed, 19 Oct 2022 15:49:39 -0400 Subject: [PATCH 1/4] add Fibonacci --- examples/Factorial.rickroll | 1 - examples/Fibonacci.rickroll | 3 +++ examples/GettingInput.rickroll | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) create mode 100644 examples/Fibonacci.rickroll diff --git a/examples/Factorial.rickroll b/examples/Factorial.rickroll index ecb4c10..dc00e7b 100644 --- a/examples/Factorial.rickroll +++ b/examples/Factorial.rickroll @@ -12,4 +12,3 @@ take me to ur heart i just wanna tell u how im feeling res say goodbye - diff --git a/examples/Fibonacci.rickroll b/examples/Fibonacci.rickroll new file mode 100644 index 0000000..3fad108 --- /dev/null +++ b/examples/Fibonacci.rickroll @@ -0,0 +1,3 @@ +take me to ur heart + +say goodbye \ No newline at end of file diff --git a/examples/GettingInput.rickroll b/examples/GettingInput.rickroll index 655508f..3607e12 100644 --- a/examples/GettingInput.rickroll +++ b/examples/GettingInput.rickroll @@ -7,7 +7,7 @@ take me to ur heart give name up sys.stdin.readline() - # Prints hello {name} + #print(f"hello {name}") i just wanna tell u how im feeling "hello " + name + "\n" say goodbye \ No newline at end of file From ea8fdeea6804c1dbf247379309696f549092981f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ricardo=20Fern=C3=A1ndez=20Serrata?= <76864299+Rudxain@users.noreply.github.com> Date: Wed, 19 Oct 2022 16:15:55 -0400 Subject: [PATCH 2/4] Update Fibonacci.rickroll --- examples/Fibonacci.rickroll | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/examples/Fibonacci.rickroll b/examples/Fibonacci.rickroll index 3fad108..485541e 100644 --- a/examples/Fibonacci.rickroll +++ b/examples/Fibonacci.rickroll @@ -1,3 +1,14 @@ take me to ur heart + gonna Fib n + when i give my n, it will be completely + saygoodbye + # arbitrary constant + give NICE up 69 + give num up 0 + together forever with num < NICE + give you up Fib(num) + i just wanna tell u how im feeling "Fib(" + str(num) + ") = " + str(you) + "\n" + give num up num + 1 + saygoodbye say goodbye \ No newline at end of file From 94ff5ad42138db3e5ce10e40ab8035d794b43a82 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ricardo=20Fern=C3=A1ndez=20Serrata?= <76864299+Rudxain@users.noreply.github.com> Date: Wed, 26 Oct 2022 02:11:25 -0400 Subject: [PATCH 3/4] add EOL to Counting, fix some stuff at Fib --- examples/Counting.rickroll | 2 +- examples/Fibonacci.rickroll | 15 ++++++++++++++- 2 files changed, 15 insertions(+), 2 deletions(-) diff --git a/examples/Counting.rickroll b/examples/Counting.rickroll index e1c2d02..cc958af 100644 --- a/examples/Counting.rickroll +++ b/examples/Counting.rickroll @@ -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 diff --git a/examples/Fibonacci.rickroll b/examples/Fibonacci.rickroll index 485541e..1b1589c 100644 --- a/examples/Fibonacci.rickroll +++ b/examples/Fibonacci.rickroll @@ -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 From a1368b10e6170909f7692c0adc3f3b50f25789cc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ricardo=20Fern=C3=A1ndez=20Serrata?= <76864299+Rudxain@users.noreply.github.com> Date: Thu, 24 Nov 2022 16:35:56 -0400 Subject: [PATCH 4/4] Delete Fibonacci.rickroll I gave up :( --- examples/Fibonacci.rickroll | 27 --------------------------- 1 file changed, 27 deletions(-) delete mode 100644 examples/Fibonacci.rickroll diff --git a/examples/Fibonacci.rickroll b/examples/Fibonacci.rickroll deleted file mode 100644 index 1b1589c..0000000 --- a/examples/Fibonacci.rickroll +++ /dev/null @@ -1,27 +0,0 @@ -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 ;) - give NICE up 69 - give num up 0 - together forever with num < NICE - give you up Fib(num) - i just wanna tell u how im feeling "Fib(" + str(num) + ") = " + str(you) + "\n" - give num up num + 1 - saygoodbye -say goodbye \ No newline at end of file