You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The description for the assignment contains the following:
After each inputted item, display the total cost of all items inputted thus far, prefixed with a dollar sign ($) and formatted to two decimal places. Treat the user’s input case insensitively. Ignore any input that isn’t an item.
Demo showcases the reprompt on incorrect input:
The "How to test" section has the following:
Run your program with python taqueria.py. Type Burger and press Enter. Your program should reprompt the user.
Actual result:
check50 passes the code
test :) input of "burger" results in reprompt passes validation
The text was updated successfully, but these errors were encountered:
kguryanov
changed the title
CS50P Problem Set 3 - taqueria - check50 doe not catch missing reprompt for item not in the menu
CS50P Problem Set 3 - taqueria - check50 does not catch missing reprompt for item not in the menu
Aug 15, 2024
Preconditions
taqueria.py
, which prints "Total: ..." when user enters item not in the menu:Steps to reproduce:
Run
python taqueria.py
Enter the following items:
Burrito
not in the menu
burger
Output:
Run
check50 cs50/problems/2022/python/taqueria
Expected result:
check50
should fail the validationThe description for the assignment contains the following:
Demo showcases the reprompt on incorrect input:
The "How to test" section has the following:
Actual result:
check50
passes the code:) input of "burger" results in reprompt
passes validationThe text was updated successfully, but these errors were encountered: