Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

dsweely's avatar

GitHub Error: Process completed with exit code 1.

I'm getting this error when running my code. When I look at my run checks this is what I see. I am not sure what to do to fix this.

Run cd python/chapter5/mla01/ Player's Hand: [('clubs', 14), ('hearts', 13)] Dealer's Hand: [X, ('spades', 7) ] Traceback (most recent call last): File "/home/runner/work/9780357421796_python-fundamentals-1e-23b57dec-96ff-4cbd-ab4a-c19b6d1bbd95/9780357421796_python-fundamentals-1e-23b57dec-96ff-4cbd-ab4a-c19b6d1bbd95/python/chapter5/mla01/tasks.py", line 8, in from tests import Task1 as t1, Task2 as t2, Task3 as t3, Task4 as t4 File "/home/runner/work/9780357421796_python-fundamentals-1e-23b57dec-96ff-4cbd-ab4a-c19b6d1bbd95/9780357421796_python-fundamentals-1e-23b57dec-96ff-4cbd-ab4a-c19b6d1bbd95/python/chapter5/mla01/tests.py", line 1, in from card_simulator import * File "/home/runner/work/9780357421796_python-fundamentals-1e-23b57dec-96ff-4cbd-ab4a-c19b6d1bbd95/9780357421796_python-fundamentals-1e-23b57dec-96ff-4cbd-ab4a-c19b6d1bbd95/python/chapter5/mla01/card_simulator.py", line 89, in result = create_blackjack_game() File "/home/runner/work/9780357421796_python-fundamentals-1e-23b57dec-96ff-4cbd-ab4a-c19b6d1bbd95/9780357421796_python-fundamentals-1e-23b57dec-96ff-4cbd-ab4a-c19b6d1bbd95/python/chapter5/mla01/card_simulator.py", line 40, in create_blackjack_game player_action = input("Do you want to hit (h) or stay (s)? ") EOFError: EOF when reading a line Do you want to hit (h) or stay (s)? Error: Process completed with exit code 1.

0 likes
1 reply
experimentor's avatar

Python? I don't think laracasts has any python course. Better to post it on some python forums. Anyways, please post your code so that someone can help you.

Please or to participate in this conversation.