pro.no. Qty Price Description
1 23 1.00 Apple
2 90 1.00 Banana
3 16 1.00 Orange
4 124 1.00 Pear
5 98 1.00 Blue Berry
6 25 1.00 Raspberry
7 76 1.00 Black Berry
8 00 1.00 Pineapple
9 231 1.00 Green Grape
10 689 1.00 Red Grape
11 2 1.00 Watermellon
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"))
Ask them what's ur name and get to the know them i have nothing really.
B- find and replace can replace any word in the document with another.