QUESTION IMAGE
Question
variables - why should we care?
your task
in the code editor, go ahead and change the name of the player so that it is eliza instead of kimani.
change the name of the player so that it is eliza instead of kimani
player_name = \kimani\
print(\welcome to planet python, \ + player_name + \!\)
print(\congratulations, \ +
Step1: Identify the variable assignment line
The line player_name = "Kimani" assigns the name "Kimani" to the variable player_name.
Step2: Modify the assignment
Change the value assigned to player_name from "Kimani" to "Eliza". So the modified line is player_name = "Eliza".
Snap & solve any problem in the app
Get step-by-step solutions on Sovi AI
Photo-based solutions with guided steps
Explore more problems and detailed explanations
# Change the name of the player so that it is Eliza instead of Kimani
player_name = "Eliza"
print("Welcome to Planet Python, " + player_name + "!")
print("Congratulations, " + player_name + "!")