Page 1 of 1

Convert JavaScript to Python I'm trying to jump from JavaScript to Python and I was wondering if for semicolon insertion

Posted: Sat May 14, 2022 8:26 pm
by answerhappygod
Convert JavaScript to Python
I'm trying to jump from JavaScript to Python and I was wondering
if for semicolon insertion, there is a way to translate the
following snippet of code from JavaScript to Python. (Particularly
the 2nd argument. I was able to store the 1st and 4th argument into
lists, while converting the 3rd argument as a string)
Convert Javascript To Python I M Trying To Jump From Javascript To Python And I Was Wondering If For Semicolon Insertion 1
Convert Javascript To Python I M Trying To Jump From Javascript To Python And I Was Wondering If For Semicolon Insertion 1 (6.83 KiB) Viewed 34 times
const A = new DFA ['al', 'a2', 'a', 'a', 'a', 'ab'], 'al': { 'a2', }, 'a2' : { a: 'a', }, 'a3': { a: 'a4', }, 'a4' : { a: 'a5', }, 'a5': { a: 'ab', }, a6': { a: a4', }, }, al', ['a', 'ab'], );