Ask coding questions

← Back to all posts
Lighthouse Labs - Python Crash Course (Project - Word Game)
Jacici

I run the code exactly like it's written in the course notes and it doesn't seem to work. It seems like its supposed show the original text with replaced words, but the only thing that prints is the first replaced word.

Here is the link to the course page: https://free-courses.lighthouselabs.ca/courses/take/programming-essentials-with-python/texts/4109336-solution-word-game

Voters
Jacici
Comments
hotnewtop
QuickV

"I run the code exactly like it's written in the course notes and it doesn't seem to work. It seems like its supposed show the original text with replaced words, but the only thing that prints is the first replaced word." Hm... You didn't even write the code exactly how it's written in the course notes... Like @MrVoo said, you weren't supposed to replace the input prompt with what you wanted it to be... Anwyays, I took quite a bit trying to fix it, and it seems the project isn't even done yet so It shouldn't work anyways -_-... You can find my version here

Jacici

@QuickV Thanks

QuickV

np :) @Jacici

MrVoo

You weren't supposed to replace the input prompt with what you wanted it to be, but it should work anyway...

QuickV

I can't see the course page due to me having to log in to see it (don't have an account)... Is it possible you could screenshot the course page?

Jacici

Jacici
QuickV

Could you screenshot the other half of the page too? @Jacici

Jacici

@QuickV

This is the other part of the course notes: