Please help me with this
please follow the steps, it say first to remove the earlier prints, then you can add teh new ones
Thank you for the comment, which code number though? I did follow the instruction.
Welcome to the forum @Dawood
If you have a question about a specific challenge as it relates to your written code for that challenge and need some help, click the Help button located on the challenge.
The Help button will create a new topic with all code you have written and include a link to the challenge also. You will still be able to ask any questions in the post before submitting it to the forum.
Happy coding
where is the name variable used? there is an highlighted section that indicates where you should make changes
In your first screenshot, remove lines 2 and 3: print(name) and print(type(name)). Keep name = 'Alice' on line 1; that creates the variable. Also keep the is_student lines.
Then use one line to print the name and its type together:
print(name, type(name))
Your line 7 already has that form, so remove the extra line 8. The comma separates the two arguments; don’t remove the assignment to name. Then run the tests again.
Remove lines 2 and 3. Those are the two earlier outputs of name, which are print(name) and print(type(name)).
Then put one new line in their place, like the one you already have for is_student:
print(name, type(name))
Your code should end up like this:
name = "Alice"
print(name, type(name))
is_student = True
print(is_student, type(is_student))
Keep line 1 (name = "Alice"), because the new print needs the variable. The comma makes both values print on one line.
I hope this helps.


