This commit is contained in:
xuyue committed 2024-01-25 10:59:55 +08:00
1 parent 5631d0ba0a
commit a5134cb708
2 files changed
+21 -6

No files matched your search

+18 -6
View File
@@ -3,14 +3,25 @@ import { ref } from "vue"
export const insertText = ref("")
export const cTexts = [
",",
";",
",",
"&",
"{}",
" = ",
" == ",
" > ",
" < ",
" != ",
" || ",
" && ",
"()",
'printf("");',
'scanf("");',
"{\n}",
"int",
"int ",
"float ",
"%d",
"if () ",
"%.2f",
"if () {}",
" else ",
]
@@ -24,13 +35,14 @@ export const pythonTexts = [
" != ",
"print()",
"input()",
"if ",
"if :",
"else:",
"elif ",
"elif :",
"for ",
" in ",
"range():",
"while",
"[]",
"{}",
'"%.2f" % ',
]