Questions tagged [similarities]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
1answer
329 views

PSET6 Similarities Web Form Errors “Cannot POST /compare” and no CSS

I was able to get compare to work properly via the terminal though the web application keeps throwing "Cannot POST /compare" and index.html doesn't show any CSS. The page shows the layout info but no ...
0
votes
1answer
538 views

pset6 similarities substrings fails check50 in 3 cases, but not sure what's wrong with logic

My code isn't efficient, but it's not convoluted which is rare for me. I wrote a helper function, 'slicer', which iterates over the length of a and slices a into length n substrings. 'Substrings' ...
0
votes
1answer
148 views

tried to import windowed from more_itertools (for pset6 similarities less), but module not found

I stumbled on windowing in the more_itertools library which appealed to me as an interesting alternative approach to the substrings functions if I could get it to work: Windowing More Itertools I ...
0
votes
1answer
340 views

Pset6 similarities (less) works but doesn't pass check50

I tested and compiled my code and it is working well as per the requirements. However, it does not pass the requirements in check50. For instance, check50 claims that my code doesn't handle duplicate ...
0
votes
1answer
284 views

Similarities Pset6 - submit button not working

Quick question. My code passes check50 and submit50 but for whatever reason I can't seem to get the actual program to work i.e. when I click the compare button on my form nothing happens. Here is my ...

1
2