Skip to content

Commit 578b3a3

Browse files
authored
Merge pull request #4 from europanite/feature/develop
Feature/develop
2 parents 10566a2 + e05547d commit 578b3a3

1 file changed

Lines changed: 8 additions & 7 deletions

File tree

frontend/app/screens/HomeScreen.tsx

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -22,14 +22,15 @@ type ExecResult =
2222
| { isError?: false; text: string }
2323
| { isError: true; text: string };
2424

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
25+
const DEFAULT_SAMPLE = `# Sample:
26+
# print test
27+
print("Hello World")
3128
32-
fib(10)
29+
# print number
30+
a = 1
31+
b = 2
32+
c = a + b
33+
print(c)
3334
`;
3435

3536
export default function HomeScreen() {

0 commit comments

Comments
 (0)