Spaces:
Sleeping
Sleeping
Create examples/prompts.md
Browse files- examples/prompts.md +7 -0
examples/prompts.md
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Example prompts
|
| 2 |
+
|
| 3 |
+
|
| 4 |
+
1. "Write a Python module with two functions: `fibonacci(n)` returning a list of first n Fibonacci numbers, and `is_prime(n)` returning True/False. Include docstrings and type hints."
|
| 5 |
+
|
| 6 |
+
|
| 7 |
+
2. "Create a Python module `matrix_utils` implementing add, multiply, transpose for matrices represented as lists of lists, and include basic validation and docstrings."
|