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:
b
Explanation:
it's not a c or d and now I have to make it 20 characters long so I will do this
Answer:
OS-level virtualization
Explanation:
OS-level virtualization in cloud infrastructure allows the division and full utilization of resources of one hardware allowing it to run more than one or multiple operating system. With this technology, each operating system is dedicated to one user space instance called a virtual machine, and each user space is independent of other operating systems or user space instances in the kernel such that the failure of one operating system does not affect others.