- This event has passed.
6 PM – Intro To Python – Gamas
March 16, 2022 @ 6:00 pm - 7:00 pm
Today We Do
- We continued with Hang Man game. We learned how to loop through each letter inside the word.
Homework
- Create a new python file Mar16_LoopingEachLetterInAWordHomework.py. The homework is due on Tuesday night. Upload your file to google drive.
- Email me at gamas@ayclogic.com if you have question. Attach the python file if you have coding question.
- This homework is very similar to what we did in the class today
- Create a program that will do the following
- Continuously ask user “Enter a monster name (enter ‘exit’ to quit): “
- if user enter “exit” print “Thanks for using AYCLOGIC system” and stop the program
- otherwise, print one letter at a time whatever the user enters
Enter a monster name (enter 'exit' to quit): dragon d r a g o n Enter a monster name (enter 'exit' to quit): cyclops c y c l o p s Enter a monster name (enter 'exit' to quit): exit Thanks for using AYCLOGIC system