+ 1

How this code write in notepad in pc?

https://code.sololearn.com/cQEmVjKXtR99/?ref=app -----this code is as follows----- #Coded by: Tamra #A PIN-guessing program, that focuses on common values and patterns first, then brute-forces the remaining values. Also evaluates the safety of a PIN against an algorithm and person. #I'll be adding more pattern recognitions later! $numGuesses = 0 $wasGuessed = false $placeFound = nil def guess(pin) #Guesses PINs in common patterns. #Pattern Guesses #Most common check(pin, "1234", :MOST_COMMON)

13th Mar 2018, 8:21 AM
Rasila Patel
Rasila Patel - avatar
5 Answers
0
thanks for give answer to me paul...
13th Mar 2018, 10:44 AM
Rasila Patel
Rasila Patel - avatar
+ 4
Why don't you ask Tamra? Put the question in the comments.
13th Mar 2018, 9:30 AM
Paul
Paul - avatar
+ 3
I think you can write simple codes on notepad. For code like this I would use an IDE. And if you also want to run it on your PC, you need to install Ruby.
13th Mar 2018, 10:32 AM
Paul
Paul - avatar
+ 1
because this question to all and I don't know this question's answer.
13th Mar 2018, 10:05 AM
Rasila Patel
Rasila Patel - avatar
+ 1
you have any answer about this question
13th Mar 2018, 10:06 AM
Rasila Patel
Rasila Patel - avatar