Merge branch 'master' of https://codefirst.iut.uca.fr/git/nathan.boileau/Scripted
continuous-integration/drone/push Build is passing Details

ServeurDeTest
nathan boileau 2 years ago
commit d2e25fcc2a

@ -2,8 +2,6 @@
async function submit(){ async function submit(){
var test = editor.getValue()+`\n var test = editor.getValue()+`\n
import random as r
def DecryptVerif(text, key): def DecryptVerif(text, key):
result = "" result = ""
for i in range(len(text)): for i in range(len(text)):
@ -16,6 +14,7 @@ def DecryptVerif(text, key):
result += chr((ord(char) - key - 97) % 26 + 97) result += chr((ord(char) - key - 97) % 26 + 97)
return result return result
import random as r
def testDecrypte(x): def testDecrypte(x):
Decrypt("",1) Decrypt("",1)
if(Decrypt("Jgnnq yqtnf",2)!="Hello world"): if(Decrypt("Jgnnq yqtnf",2)!="Hello world"):
Loading…
Cancel
Save