diff --git a/2-control-flow/magic-8-ball/magic-8-ball.py b/2-control-flow/magic-8-ball/magic-8-ball.py index bcbe1de..01d6a56 100644 --- a/2-control-flow/magic-8-ball/magic-8-ball.py +++ b/2-control-flow/magic-8-ball/magic-8-ball.py @@ -33,6 +33,10 @@ print(playerName, "\'s Question:", playerQuestion) # Challenge: -# playerName.isEmpty ? print("Question: \(playerQuestion)") : print("\(playerName) asks: \(playerQuestion)") +#if question == "": +# print("You forgot to ask a question!") +#else: +# print(f"Question: {playerQuestion}" if name == "" else f"{playerName} asks: {playerQuestion}") +# print("🎱:", playerName) -print("🎱:", eightBall) \ No newline at end of file +print("🎱:", eightBall)