Last answered:

05 Nov 2024

Posted on:

03 Nov 2024

0

Alternative solutions

Most of my solutions never work.
Where is the problem ?

# Step 1: Define a function to display a welcome message
def welcome_message():
  print("Welcome to the Python Programming Course!")
  
# Step 2: Define a function to greet with a name, defaulting to "Guest"
def greet(name='Guest'):
  print(f"Hello, {name}! Great to have you here!")  
  
# Step 3: Call the functions
welcome_message()
greet()
greet('Alex')
1 answers ( 0 marked as helpful)
Instructor
Posted on:

05 Nov 2024

0
Hi Lenka!
Thank you for reaching out and bringing this potential issue to our attention. Our team will review the exercises and address any discrepancies.
Please remember that the output must be printed and aligned exactly as expected for proper evaluation. We’ll ensure it is adjusted accordingly.
Once again, we appreciate you letting us know! 
Best,
Ivan

Submit an answer