Your issue is on line 19 in your if statement. In python, if you have more than one condition in an if statement, you have to explicitly mention it after the or.
Your if statement is
if again == "Y" or "y":
However, this will always return true because the second statement simply asks "y".
To correct this, simply change the if statement to:
if again == "Y" or again == "y":
This will correct your code.
Another thing to consider is to always convert a userinput (whenever possible) to one version, this can be accomplished in your code by converting "again" into one version by using the .lower function.
again = input("Would you like to draw a 3rd card? Y or N? ")
again = again.lower()
Hope this helps!
Answer:
The user has a deactivated account
Explanation:
or the user does not have the account anymore good luck and I hope you do well <3
Answer:
The correct answer to the following question will be Option B (Interpersonal feedback).
Explanation:
- Interpersonal feedback seems to be a mechanism under which someone talks. Individuals deliver a message regarding their sensations and expectations of actions by another.
- It encourages employees to take obligation for a group's results and to change the look they correspond to many other people in.
Therefore, Interpersonal feedback is the right answer.
Answer:
One to One Relationship
Explanation:
Given that in a computer systems analysis about an entity-relationship model, a one-to-one relationship is a form of cardinality that involves the relationship that exists between two different entities Y and Z, such that one element Y can only be associated with one element Z, or in the other way round.
Hence, the cardinality of the friend_of relationship set between two student entities in the student entity set should be: "One to One Relationship"
Over the years, workplace discrimination has become more subtle.