Skip to main content
6 events
when toggle format what by license comment
Oct 3, 2017 at 15:37 vote accept Giovanni Piacenza
Oct 3, 2017 at 15:34 comment added Orkun Tümer yes, there is no test for crack and you can find this in pset documentation for crack "No check50 for this one! But odds are, if you can crack all ten passwords above, you’re in good shape!" while loop doesn't work because every time checking the condition, key equals to "ZZZZ". 1- while loop starts 2- for loops starts from begining to end until to key become to equal "ZZZ" - 3- check the while loop condition
Oct 3, 2017 at 15:01 comment added Giovanni Piacenza Thanks @OrkunTümer. From what I understand I can't check the correctness of my code with CS50 examples coming out from password of more than 4 char. Is that correct? And regarding the first code with the while loop, why doesn't it arrive at the same result of the second one with the if condition?
Oct 3, 2017 at 14:32 vote accept Giovanni Piacenza
Oct 3, 2017 at 14:32
Oct 3, 2017 at 14:00 review First posts
Oct 29, 2017 at 14:21
Oct 3, 2017 at 13:55 history answered Orkun Tümer CC BY-SA 3.0