Skip to main content

Questions tagged [refueling]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
16 views

Unable to pass check50 in spite of passing pytest on 'refueling' problem of Problem Set 5

Upon submmitting my solution I receive the following error: ... Results for cs50/problems/2022/python/tests/fuel generated by check50 v3.3.11 :) test_fuel.py exist :( correct fuel.py ...
Paulo André de Andrade's user avatar
-1 votes
1 answer
98 views

the check50 of the test_fuel is not working in cs50p

this code is working just fine through check50 of the main problem set Fuel Gauge and the pytest for this testing code is successful def main(): while True: try: x = input(&...
Fouad Nabil's user avatar
0 votes
0 answers
34 views

test_fuel.py failing at "all test_fuel checks, expected exit code 0, not 1"

All test are going through and program itself seems to be working correctly returning ints, strs and printing only in main() but still doesnt seems to pass the checks, can't see what could cause it. ...
Alkir man's user avatar
0 votes
1 answer
203 views

Refueling - problem set 5 - CS50

I have a problem with refueling from problem set 5 of cs50p. I tried and implement a lot of version of the code, always good enough to do the job and pass the test but check50 fails. I give fuel.py ...
domionico's user avatar
-1 votes
1 answer
337 views

CS50P PSet5 Refueling

:( correct fuel.py passes all test_fuel checks expected exit code 0, not 1 when testing my code, which then prevents the following tests from running Here is my code for fuel.py: def main(): ...
Edward Burroughs's user avatar