We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 10566a2 + e05547d commit 578b3a3Copy full SHA for 578b3a3
1 file changed
frontend/app/screens/HomeScreen.tsx
@@ -22,14 +22,15 @@ type ExecResult =
22
| { isError?: false; text: string }
23
| { isError: true; text: string };
24
25
-const DEFAULT_SAMPLE = `# Sample: print Fibonacci sequence
26
-def fib(n):
27
- a, b = 0, 1
28
- for _ in range(n):
29
- print(a)
30
- a, b = b, a + b
+const DEFAULT_SAMPLE = `# Sample:
+# print test
+print("Hello World")
31
32
-fib(10)
+# print number
+a = 1
+b = 2
+c = a + b
33
+print(c)
34
`;
35
36
export default function HomeScreen() {
0 commit comments