update
This commit is contained in:
@@ -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" % ',
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user