Question
Aktualisiert am
12 Mai 2016
- Vereinfachtes Chinesisch (China)
-
Englisch (US)
-
Japanisch
Geschlossene Frage
Frage über Englisch (US)
Was bedeutet # add <a>:<b> => adds the scrambler with id <id> and oriented to face the letter <orientation ?
Was bedeutet # add <a>:<b> => adds the scrambler with id <id> and oriented to face the letter <orientation ?
Antworten
12 Mai 2016
Favorisierte Antwort
- Englisch (US)
- Französisch (Kanada) Fast fließend
- Französisch (Frankreich) Fast fließend
1. Are you running python 2.7.
2. You need to first type in "new" to reset and have an empty machine.
3. add scramblers by typing "add 1011:a" for example. this will use 1011 as your seed for the random function. Look up pseudorandom generators. example: after running the app with python2.7
input:
new
add 1:a
add 2:b
:hello
outup: IXVMM
input:
reset
add 1:a
add 2:b
:ixvmm
output: HELLO
War diese Antwort hilfreich?
Mehr Kommentare lesen
- Vereinfachtes Chinesisch (China)
- Vereinfachtes Chinesisch (China)
- Englisch (US)
I'm sorry, I'm not sure but I have a friend that does a lot of coding so if no one answers by the time I talk to them I'll send it.
War diese Antwort hilfreich?
- Vereinfachtes Chinesisch (China)
According to "To add a scrambler, type add a:b where a is the id of the scrambler (a seed number used to generate the same scrambling system each time that one is used) and b is the letter that the scrambler is currently oriented to. ", I'm trying to test the Python code for a little more time to know it better.
- Englisch (US)
- Französisch (Kanada) Fast fließend
- Französisch (Frankreich) Fast fließend
1. Are you running python 2.7.
2. You need to first type in "new" to reset and have an empty machine.
3. add scramblers by typing "add 1011:a" for example. this will use 1011 as your seed for the random function. Look up pseudorandom generators. example: after running the app with python2.7
input:
new
add 1:a
add 2:b
:hello
outup: IXVMM
input:
reset
add 1:a
add 2:b
:ixvmm
output: HELLO
War diese Antwort hilfreich?
- Englisch (US)
- Französisch (Kanada) Fast fließend
- Französisch (Frankreich) Fast fließend
if you want a better randomization use prime numbers. 2 3 5 7 11 13 17 19...541 etc. did you know 541 is the 100th prime number?
War diese Antwort hilfreich?
- Malayisch
- Spanisch (Spanien)
@lie_rui_fu, With HiNative you can learn not only human languages but computer languages!! Want to learn C, C++, Machine language, Perl? Or in this case an awesome script language like Python used to simulate the famous WW2 Enigma machine? You can do it now with HiNative! Subscribe Now!... No, not really, Just kidding
War diese Antwort hilfreich?
[Neuigkeiten] Hallo du! Die/derjenige, die/der eine Sprache lernt!
Möchten Sie wissen, wie Sie Ihre Sprachkenntnisse verbessern können❓ Alles, was Sie tun müssen, ist, Ihre Schreiben durch einen Muttersprachler korrigieren zu lassen!
Mit HiNative können Sie Ihre Schreiben kostenlos durch Muttersprachler korrigieren lassen ✍️✨.
Mit HiNative können Sie Ihre Schreiben kostenlos durch Muttersprachler korrigieren lassen ✍️✨.
Registrieren
Ähnliche Fragen
Ähnliche Fragen
- He can't add yet, much less multiply. klingt das natürlich?
- Wie sagt man das auf Englisch (US)? Can you add me on Wechat? maro511
- Was bedeutet "add up"?
Trending questions
- Was bedeutet gyatt ?
- Was bedeutet side hoe?
- Was bedeutet send nudes?
- Was bedeutet I really wish he saw what he had in me. But he never will.?
- Was bedeutet take the win?
Newest Questions (HOT)
- Was bedeutet Auf Biegen und Brechen versuchen ofer nicht auf Biegen und Brechen versuchen? Danke ?
- Was bedeutet Zur Firmeneröffnung bitten wir zu einem kleinen Empfang?
- Was bedeutet "Ich bind mir eine Scheiß-Krawatte rum." What 'rumbind' mean here in english??
Newest Questions
- Was bedeutet Es ist mir gelungen, meinen Chef zu überzeugen?
- Was bedeutet Verlangen (nicht Verb) ?
- Was bedeutet Kein plan ?
- Was bedeutet neckisch?
- Was bedeutet „so k.o.“ em alemão? ?
Vorherige Frage/ Nächste Frage
Danke! Sei versichert, dass dein Feedback den anderen Benutzern nicht angezeigt wird.
Vielen Dank! Dein Feedback wird sehr geschätzt.