Ad
  • Custom User Avatar

    yyAQfy;DAS'!ANSAce.DTQO'A.; -DTQO'A?yyAQfy/?ANSAce-/,-?DAS'.?-.yyAQfy,?-/:'vxN.DAS',!!luNCEIFKq, -ANSAce:yyAQfy; luNCEIFKq_-?DAS'-.:!yyAQfy:DTQO'A!yyAQfy-,!'vxN;DAS'.DAS',,ANSAce:.DAS'/;DAS':? -:yyAQfy/- ?/DAS' ;?/DAS';:'vxN,DTQO'A-?ANSAce/,ANSAce.? DAS'?DTQO'A.DAS':;,! ANSAce;yyAQfy- -:,DAS'?_yyAQfy;'vxN//!yyAQfy ;??!DTQO'A-!.fhUUbD/;DAS':DTQO'A;:DTQO'A/-DTQO'A:yyAQfy?'vxN:.;/:'vxN,'vxN-,yyAQfy!-yyAQfy-DAS';?DAS' :'vxN, ! yyAQfy:.-/'vxN.,?-/fhUUbD,..DAS': ;DTQO'A;;yyAQfy?!? .DTQO'A:!!?ANSAce;?:yyAQfy..!yyAQfy:?.-DAS' :.?ANSAce.fhUUbD,/!/ANSAce;.:.yyAQfy ./ANSAce - !;ANSAce.!.:yyAQfy!yyAQfy;.DAS'. :DTQO'A;.;DTQO'A.DTQO'A?!.!.yyAQfy.yyAQfy?,DAS':_DTQO'A _.,yyAQfy_yyAQfy?'vxN?!:
    {'yyaqfy': 24, 'das': 20, 'ansace': 12, "dtqo'a": 15, 'vxn': 10, 'lunceifkq': 2, 'fhuubd': 3}
    [(24, 'yyaqfy'), (20, 'das'), (15, "dtqo'a")]
    ['yyaqfy', 'das', "dtqo'a"]
    Frequencies of the most common words: [24, 0, 15] should equal [24, 20, 15]

  • Custom User Avatar

    I have:
    [(25, "yowr'fr"), (17, 'zxytghkac'), (16, 'unleqfxsu')]

    My final return will give the strings like this:
    ["yowr'fr", 'zxytghkac', 'unleqfxsu']

    When it is tested for the numbers, it looks up "yow'fr" which gives the value 0. This makes the test attempt give a [0,17,16] expected [25,17,16]
    I cannot change yowr'fr in any way because it has an apostrophe in the middle. Is this an issue?

    The sample gives ("//wont won't won't") and I got ["won't", 'wont'] so when the string "won't" is given, wouldn't that give a 0 as well?

  • Custom User Avatar

    This comment is hidden because it contains spoiler information about the solution

  • Custom User Avatar

    For python, the random tests throws an error. Counter is not defined.

  • Custom User Avatar

    This comment is hidden because it contains spoiler information about the solution