0

Hello everyone, i need help. Am stuck at the extension part. In my code, i might have changed the guesses, don't mind about that

Am more interested on how to implement the logic in the extension part. Challenge 26 The computer generates a 4 digit code The user types in a 4 digit code. Their guess. The computer tells them how many digits they guessed correctly Extension : the computer tells them how many digits are guessed correctly in the correct place and how many digits have been guessed correctly but in the wrong place. The user gets 12 guesses to either win – guess the right code. Or lose – run out of guesses https://code.sololearn.com/cClOt5BCqMsW/?ref=app

2nd Dec 2021, 5:38 PM
John Delvin
John Delvin - avatar
1 Odpowiedź
+ 1
There is no problem in your code
3rd Dec 2021, 6:08 PM
VCoder
VCoder - avatar