FAQ: Survey of Computer Science - The Tale of Kenny - Control Flow and Logic


#1

This community-built FAQ covers the “Control Flow and Logic” exercise from the lesson “Survey of Computer Science - The Tale of Kenny”.

Paths and Courses
This exercise can be found in the following Codecademy content:

Code Foundations

FAQs on the exercise Control Flow and Logic

There are currently no frequently asked questions associated with this exercise – that’s where you come in! You can contribute to this section by offering your own questions, answers, or clarifications on this exercise. Ask or answer a question by clicking reply (reply) below.

If you’ve had an “aha” moment about the concepts, formatting, syntax, or anything else with this exercise, consider sharing those insights! Teaching others and answering their questions is one of the best ways to learn and stay sharp.

Join the Discussion. Help a fellow learner on their journey.

Ask or answer a question about this exercise by clicking reply (reply) below!

Agree with a comment or answer? Like (like) to up-vote the contribution!

Need broader help or resources? Head here.

Looking for motivation to keep learning? Join our wider discussions.

Learn more about how to use this guide.

Found a bug? Report it!

Have a question about your account or billing? Reach out to our customer support team!

None of the above? Find out where to ask other questions here!


#2

{Click run, then copy and paste python kenny_the_health_inspector.py into the terminal on the far right titled bash . }

Whats is bash ? and why the game wouldn’t work :confused:
regards :slight_smile:


#3

Hey @alashtal, I had the same problem using Chrome, but everything worked when switching to Firefox.


#4

I had the same problem using safari, followed apaul272’s advice and used Firefox. Works now!


#5

thank you :slight_smile: @apaul272


#6

I’m using firefox and I still can"t get the program to run.
It keeps saying kenny_the_health_inspector is no defined.
I also can"t copy and paste into the bash terminal.
I typed help into the terminal, which led me to modules, which led me to kenny_the_health_inspector.
I was finally able to run the program that way.


#7

I’ve had the same issue as well. It won’t run :cry: Mine just doesn’t really do anything thought I get a $ and a little blinking box.


#8

I was having the same problem in Safari. To fix it, I went to Safari > Settings for This Website…

On the window that came up, I unchecked “Enable content blockers”.

When I refreshed the window, the proper Bash entry was available.

Hope that helps you, too!


#9

Terminal was not displaying any information, including the ‘bash’ title. I’m using Chrome. Tried refreshing the page and the information is now displayed.


#10

Hello i am running safari and i can’t get anything to run after i copy and paste in the far right.