Answer:
Here you go, Change it however you'd like :)
Explanation:
import random as r
def play_round(p1, p2):
cards = [1,2,3,4,5,6,7,8,9,10,"J","Q","K","A"]
play1 = r.choice(cards)
play2 = r.choice(cards)
while play1 == play2:
play1 = r.choice(cards)
play2 = r.choice(cards)
if cards.index(play1) > cards.index(play2):
return f"{p1}'s Card: {play1}\n{p2}'s Card: {play2}\nThe Winner is {p1}"
else:
return f"{p1}'s Card: {play1}\n{p2}'s Card: {play2}\nThe Winner is {p2}"
print(play_round("Bob","Joe"))
Answer:
10
Explanation:
num1=3 and num2=2
num3=myproc(num1)+myproc(num2)
myproc(num1) results 6
myproc(num2) results 4
when we add both e get 10
Clients that run numerous virtual machines.
<h3>What is a virtual machine?</h3>
- A virtual machine is the virtualization or emulation of a computer system in computing.
- The functionality of a physical computer is provided by virtual machines, which are built on computer architectures.
- Their use may necessitate specialized hardware, software, or a combination of both.
- Virtual machines' primary function is the simultaneous operation of several operating systems on a single piece of hardware.
- Without virtualization, running two different physical units would be necessary to run different operating systems, such as Windows and Linux.
- Through the use of virtualization technologies, virtual machines are made possible.
- Multiple virtual machines (VMs) can run on a single machine thanks to virtualization, which simulates virtual hardware using software.
- The real machine is referred to as the host, and any virtual machines running on it as the guests.
To learn more about virtual machines, refer to:
brainly.com/question/27961159
#SPJ4