Question
更新於
2016年5月12日
- 中文 (簡體)
-
英語 (美國)
-
日語
問題已關閉
有關 英語 (美國)(英文) 的問題
# add <a>:<b> => adds the scrambler with id <id> and oriented to face the letter <orientation 是什麼意思
# add <a>:<b> => adds the scrambler with id <id> and oriented to face the letter <orientation 是什麼意思
答覆
2016年5月12日
最佳解答
- 英語 (美國)
- 法語 (加拿大) 接近流利
- 法語 (法國) 接近流利
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
查看更多留言
- 中文 (簡體)
- 英語 (美國)
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.
- 中文 (簡體)
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.
- 英語 (美國)
- 法語 (加拿大) 接近流利
- 法語 (法國) 接近流利
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
- 英語 (美國)
- 法語 (加拿大) 接近流利
- 法語 (法國) 接近流利
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?
- 馬來語
- 西班牙語 (西班牙)
@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

[通知]Hi! 正在學習外文的你
你知道如何提升自己的外語能力嗎❓你要做的就是讓母語者來訂正你的寫作!
使用HiNative,免費讓母語者來幫你訂正文章✍️✨
使用HiNative,免費讓母語者來幫你訂正文章✍️✨
註冊
相關提問
-
let 和 let's, i confuse "let" with "let's", when I should use with "let" with "s" 的差別在哪裡?
回答"Let me get the car" "Let's play football in the park"
-
Collocation maeans a natural combnation of words. For example, "do" and "homework" go together, a...
回答People can do their homework, just as people can make mistakes. Do and make are verbs, so they can be used almost anywhere. I can do yard wor...
-
S + be verb + adjective + "for or to" + someone
question: when "for", when "to"
回答I'm Happy for you. I'm nice to you. Happy for who? Nice to who?
-
I have a question about grammar.
Is all the "Ving" have to add "to"(I mean prep) in back of it? f...
回答All of those words in the first box are verbs (actions) and then there is scary which is classified as a adjective
-
How do I should sound letter "o" in word "not"? Through letter /a/ like in word "remark" or throu...
回答Like “remark” The “o” in “not” sounds more like “ah”
-
"But you know, there's so many people that I have to meet."
Why does the speaker say "there's" i...
回答There are is technically correct. The reason some one would say there's or there is, is because it is easier to pronounce. Going from an "R" ...
-
" would the "ng" make the sound "ŋ" , if another letter came after them??
for example
bangs
fringe
回答"Bangs" does have a ŋ sound, probably because it's derived from "bang". "-inge", "-ange", "-unge", etc. do not have the ŋ sound. The word "un...
-
"over" in the sentence "Thanks again for subscribing! Of course, you can break up with this list ...
回答@WANYuxing “over it” means you have stopped caring about whatever “it” is. So, when you stop being interested in what you are subscribing to,...
-
Upside down... so... Is it correct to say "left-side right"?
sorry I don't know how can I make t...
回答No, we don’t say “left-side right”. I think “backwards” is closest to what you’re looking for. For example: “d” looks like a backwards “b”. ...
-
how to use "have had" like a following sentence.
" we're just very grateful to have had it under...
回答It's just the verb "to have" in the past perfect tense. Just like you would put other verbs in the past tense by using 'have', you do the sa...
相同關鍵字的提問
- He can't add yet, much less multiply. 聽起來自然嗎?
- Can you add me on Wechat? maro511用 英語 (美國) 要怎麼說?
- "add up"是什麼意思
矚目的提問
- bing chilling是什麼意思
- Do you wanna bang? 是什麼意思
- do u know what's better than 69? it's 88 because u get 8 twice. please explain the joke.是什麼意思
- high on potenuse是什麼意思
- Wdym是什麼意思
最新問題(HOT)
最新問題
- 從田野上「盪」進了校園是什麼意思
- 邁動是什麼意思
- 垃圾食物是什麼意思
- いや、私が憶えていないのをいいことに、アイデアを横取りされたのだ。 部長席に、きっ、首を振り向けた。 ここの「きっ」は怒氣、生氣って意味でしょうか?是什麼意思
- 美工刀是什麼意思
上一個問題/下一個問題