All Questions
6 questions
0
votes
2
answers
30
views
Felipe's Taqueria: output check problem
This is my code for the Felipe Taqueria's problem and the output is as expected but I am required to output "Total" before the prompt "Enter your order" but I am unable. Someone ...
0
votes
1
answer
47
views
problems with little professor not rejecting inputs that check50 says it should
When I run locally the program behaves as I think it should. But when I run it through check50 it fails saying that I dont reject inputs that I should reject.
import random
def main():
while True:...
0
votes
1
answer
255
views
Why am I failing check50, Cs50p Little Professor
I get this reply after executing check50:
:) professor.py exists
:( Little Professor rejects level of 0
expected program to reject input, but it did not
:( Little Professor rejects level of 4
...
0
votes
1
answer
374
views
cs50p check50 says my program doesn't pass all checks, but pytest says that it does
check50 says my program doesn't pass all checks:
$ check50 --local cs50/problems/2022/python/tests/fuel
Checking........
Results for cs50/problems/2022/python/tests/fuel generated by check50 vlocally ...
0
votes
1
answer
520
views
CS50P PSET7 Working Check50 Error
I was wondering what causes the check50 final test case to yield an error. The error message is as follows:
:( test_working.py catches working.py not raising ValueError for invalid time format
...
0
votes
4
answers
3k
views
cs50p problemset 7 /working.py
mo code works fine and passes al teat in test_working.py but i dont know why i get this error
:) working.py and test_working.py exist
:) working.py does not import libraries other than sys and re
:) ...