Fix #2246 - Override builtins.input to avoid duplicating it (#2254)

This commit is contained in:
Andrea Giammarchi
2024-11-25 14:17:30 +01:00
committed by GitHub
parent 0a1d3bb678
commit 796373cfa6
6 changed files with 28 additions and 4 deletions

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,11 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width,initial-scale=1.0">
<script type="module" src="../../../dist/core.js"></script>
</head>
<body>
<script type="py" src="./main.py" terminal worker></script>
</body>
</html>

View File

@@ -0,0 +1 @@
print(input("What food would you like me to get from the shop? "))