Questions tagged [problemset3]
The problemset3 tag has no usage guidance.
6 questions
0
votes
2
answers
38
views
outdated : code not rejecting incorrectly formatted inputs
The following two outputs which are about mixed format input like, October/8/1701 and September 8 1636,are not what they should be and i can`t make them work
import re
months = [
"January&...
0
votes
1
answer
297
views
Check50 says the answer is wrong in the outdated.py problem but it is right. Help, how to solve?
I'm new here.
I'm solving the Outdated problem. It seems it works as expected but, check50 says it is wrong.
When I do it manually it works.
Manually:
Date: 9/8/1636
1636-09-08
Results from check50:
...
0
votes
1
answer
32
views
It doesn't print Alice as the winner
when I try my code manually it does everything correct, but when I run Check 50, it says following ":( print_winner identifies Alice as winner of election print_winner function did not print ...
0
votes
1
answer
533
views
Taquería doesn't read my output correctly
On the third and fourth test for Felipe's Taqueria (CS50P) the output seems correct to me, but apparently is wrong. This is the test's output:
Could not find the following in the output:
$14.00
Actual ...
0
votes
1
answer
56
views
Plurality exercise - error messages
I am trying to do the Plurality exercise for problem set 3, but when I type this to test it, I get errors even though I believe my program looks correct.
check50 cs50/problems/2021/x/plurality
I get ...
0
votes
1
answer
94
views
Problem Set 3 (Runoff) print_winner function doesn't print and quits
I am working on problem set 3 runoff and I am having trouble with getting my print_winner function to work correctly. When I run the program it basically does nothing and quits the program. It gets ...