Help in PSET-5
I am doing the bank test problem and my code is passing all the tests both manually and through pytest, but when i do check50 everything is issues except the first one which is if the file exists. This is my code
>!
from bank import value
def test_hello():
assert value("Hello") == "$0"
assert value("Hello, Amrit") == "$0"
assert value("hello") == "$0"
assert value("HELLO") == "$0"
def test_h():
assert value("Hi") == "$20"
assert value("Hohohoho, whats up") == "$20"
assert value("hi") == "$20"
assert value("HI") == "$20"
def test_nothing():
assert value("Yo") == "$100"
assert value("What's up") == "$100"
def test_punctuation():
assert value(",") == "$100"
assert value(".") == "$100"
if __name__ == "__main__":
test_hello()
test_h()
test_nothing()
test_punctuation()
!<
Posted Jun 17, 2026, 1:13 PM UTC
24