Python Forum
Homework: Smiley Face game
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Homework: Smiley Face game
#2
Well, the code you were given already has that variable (self.__dark_eyes, line 8).

Have you covered condition expressions? Maybe your professor is looking for eyes = "black" if self.__dark_yes else "blue".
Craig "Ichabod" O'Brien - xenomind.com
I wish you happiness.
Recommended Tutorials: BBCode, functions, classes, text adventures
Reply


Messages In This Thread
Homework: Smiley Face game - by itmustbebunnies - Nov-02-2018, 04:17 PM
RE: Homework: Smiley Face game - by ichabod801 - Nov-02-2018, 05:08 PM
RE: Homework: Smiley Face game - by mogy - Jun-08-2019, 01:28 AM
RE: Homework: Smiley Face game - by Yoriz - Jun-08-2019, 08:07 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Face recognition system with return hostel form safwan 3 745 Jan-30-2024, 03:17 AM
Last Post: safwan
  Homework Hangman Game jagr29 3 2,559 Jan-20-2022, 10:38 PM
Last Post: deanhystad
  Which python built in library is used for face recognition? Michel_John 4 2,196 Sep-28-2021, 07:33 PM
Last Post: Underscore

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020