Update data.csv
Browse files
data.csv
CHANGED
|
@@ -1,39 +1,86 @@
|
|
| 1 |
-
|
| 2 |
-
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 7 |
|
| 8 |
-
def weightedAverage(*args):
|
| 9 |
|
| 10 |
-
|
| 11 |
-
total_weight = 0
|
| 12 |
-
|
| 13 |
-
nums = []
|
| 14 |
-
for i in range(0, len(args), 2):
|
| 15 |
-
number = args[i]
|
| 16 |
-
weight = args[i+1]
|
| 17 |
-
weighted_sum += number * weight
|
| 18 |
-
total_weight += weight
|
| 19 |
-
|
| 20 |
-
return weighted_sum / total_weight
|
| 21 |
-
|
| 22 |
-
print(weightedAverage(2, 3, 1, 2, 5, 2))
|
| 23 |
-
```
|
| 24 |
-
Usage:
|
| 25 |
-
arg1: first number
|
| 26 |
-
arg2: weight of the first number
|
| 27 |
-
arg3: 2nd number
|
| 28 |
-
etc."
|
| 29 |
-
Write a script to solve 1+1,"```python
|
| 30 |
-
result = 1+1
|
| 31 |
-
```"
|
| 32 |
-
Write a py script to find the World Record in SMB1 Any%,"Sure! To do so, we can use the Sure! To do so, we can use the SRC API!
|
| 33 |
-
```python
|
| 34 |
-
import requests
|
| 35 |
-
from math import floor
|
| 36 |
-
|
| 37 |
-
game = 'smb1'
|
| 38 |
-
category = 'any'
|
| 39 |
-
url = f""https://www.speedrun.com/api/v1/leaderboards/{game}/category/{category}?top=1""
|
|
|
|
| 1 |
+
prompt,response
|
| 2 |
+
"Hello, how are you?","I'm doing fine!"
|
| 3 |
+
"What is 1+1","1+1 is equal to 2"
|
| 4 |
+
"When did time start","13.8 billion years ago. Time started when the Big Bang happened, at the start of the universe."
|
| 5 |
+
"When was the Big Bang?","13.8 billion years ago. The Big Bang was the moment 13.8 billion years ago when the universe began as a tiny, dense, fireball that exploded. Most astronomers use the Big Bang theory to explain how the universe began. But what caused this explosion in the first place is still a mystery."
|
| 6 |
+
"Is 1+1 2?","Yes"
|
| 7 |
+
"I have a challenge for you. Generate a Super Mario 64 Bob-omb Battlefield music using ABC Notation.","I'll accept the challenge!
|
| 8 |
+
Note that it can't be perfect, however I'll try my best!
|
| 9 |
+
X: 1
|
| 10 |
+
T: Gemini
|
| 11 |
+
M: 2/4
|
| 12 |
+
L: 1/16
|
| 13 |
+
Q:1/4=120
|
| 14 |
+
K:C % 0 sharps
|
| 15 |
+
V:1
|
| 16 |
+
[cC,]2 [AA,,]2 [cC,]2 [dD,][cC,]| \
|
| 17 |
+
z3/2[E-E,,-]2[EE,,]/2 [FF,,]2 [^FF,,]2| \
|
| 18 |
+
[GG,,]3/2z2z/2 [GG,,][GG,,]2[GG,,]| \
|
| 19 |
+
z4 G,,2- [DG,,-][^DG,,]|
|
| 20 |
+
[EC,,-][^DC,,-] [EC,,-][GC,,-] C,,-[AC,,] [G-C,,][GC,,-]| \
|
| 21 |
+
[CC,,-]3/2C,,/2 C,,4 [G,C,,-][^G,C,,]| \
|
| 22 |
+
[A,F,,-][^G,F,,-] [A,F,,-][CF,,-] F,,-[DF,,] [C-F,,][CF,,-]| \
|
| 23 |
+
[A,F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 [gdE,,]2 [^fd^D,,]2 [f=d^D,,]2| \
|
| 66 |
+
[fdD,,]3[eBG,,] z2 [c-G-C,,-]2| \
|
| 67 |
+
[c-G-C,,]2 [cGC,,]2 G,,,2 G,,,2|
|
| 68 |
+
[cC,,-][EC,,-]2[^AC,,-] C,,2 C,,2| \
|
| 69 |
+
[cC,,-][E-C,,] [EC,,-][^AC,,] C,,C,, C,,2| \
|
| 70 |
+
[AF,,-][CF,,-]2[^DF,,-] F,,2 F,,2| \
|
| 71 |
+
[AF,,-][C-F,,] [CF,,-][^DF,,] F,,F,, F,,2|
|
| 72 |
+
[cC,,-][EC,,-]2[^AC,,-] C,,2 C,,C,,| \
|
| 73 |
+
[cC,,][E-C,,] [EC,,-][^AC,,] C,,2 C,,2| \
|
| 74 |
+
[AF,,]2 [AF,,]2 [AF,,]2 [AF,,]2| \
|
| 75 |
+
[^GG,,-]3/2G,,2-G,,/2 [=GG,,,]4|
|
| 76 |
+
[cC,,-][EC,,-]2[^AC,,-] C,,2 C,,2| \
|
| 77 |
+
[cC,,-][E-C,,] [EC,,-][^AC,,] C,,C,, C,,2| \
|
| 78 |
+
[AF,,-][CF,,-]2[^DF,,-] F,,2 F,,2| \
|
| 79 |
+
[AF,,-][C-F,,] [CF,,-][^DF,,] F,,F,, F,,2|
|
| 80 |
+
[cC,,-][EC,,-]2[^AC,,-] C,,2 C,,C,,| \
|
| 81 |
+
[cC,,][E-C,,] [EC,,-][^AC,,] C,,2 C,,2| \
|
| 82 |
+
[AF,,]2 [AF,,]2 [AF,,]2 [cAF,,]2| \
|
| 83 |
+
[^dA^F,,-]3/2F,,2-F,,/2 [e-G,,,-]3[eG,,,]/2
|
| 84 |
|
|
|
|
| 85 |
|
| 86 |
+
You can use something like [abcjs](https://www.abcjs.net/abcjs-editor) to try it out!"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|