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)
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'], );
Convert JavaScript to Python I'm trying to jump from JavaScript to Python and I was wondering if for semicolon insertion
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
Convert JavaScript to Python I'm trying to jump from JavaScript to Python and I was wondering if for semicolon insertion
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!