Questions tagged [outdated]
The outdated tag has no usage guidance.
5
questions
0
votes
2
answers
17
views
The code allways prompt to enter a new date when entering the date. How to correct my code in order to have the right answer?
import re
months = [
"January",
"February",
"March",
"April",
"May",
"June",
"July",
"August&...
0
votes
1
answer
17
views
Check50 says my answer is wrong. Why? Outdated.py pset3
Issue:
Check50 output:
My code isn't the cleanest or most optimized, but I'm pretty sure it works.
def main():
day = 4000
months = [
"January",
"February",
&...
0
votes
1
answer
116
views
Issues with Testing CS50P Problem Set 3, Outdated, Mismatch between the "How to Test" instructions and check50
I am doing the CS50P course online via edX, and have run into a problem with Testing CS50P Problem Set 3, Outdated. (https://cs50.harvard.edu/python/2022/psets/3/outdated/).
I wrote my code to comply ...
0
votes
1
answer
167
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
2
answers
112
views
Why is my program returning YYYY-DD-MM instead of YYYY-MM-DD in the output? What am I getting wrong?
My program is expected to take date input such as September 4, 1995 or 9/4/1995 from the user and convert it to 1995-09-04. However, it is returning 1995-04-09. What I have done is to create a regex ...