I have a Python dictionary that represents tarot cards. Write a function that picks 3 random cards from the deck and prints 3 lines saying "Your past is [value]", "Your present is [value]", and "Your future is [value]", where value represents the value of the chosen cards. Have the function return the three cards. Outside of the function, I want it to remove those chosen cards from the tarot cards dictionary. Here is the variable:

tarot = { 1:	"The Magician", 2:	"The High Priestess", 3:	"The Empress", 4:	"The Emperor", 5:	"The Hierophant", 6:	"The Lovers", 7:	"The Chariot", 8:	"Strength", 9:	"The Hermit", 10:	"Wheel of Fortune", 11:	"Justice", 12:	"The Hanged Man", 13:	"Death", 14:	"Temperance", 15:	"The Devil", 16:	"The Tower", 17:	"The Star", 18:	"The Moon", 19:	"The Sun", 20:	"Judgement", 21:	"The World", 22: "The Fool"}
system
mere paas ek paythan dictionari he jo tero card kaa pratinidhitiv karata he.ek fnction likhen jo deck se 3 random card chunata he or 3 linon ko print karata he, jisamen kaha gaya he ki "aapkaa ateet [mulya] he", "aapkaa vartmaan [mulya] he", or "aapkaa bhavishya [mulya]" he, jahaan mulya kaa mulya darshata hachune hue card.fnction ko teen card lautaaen.fnction ke baahar, main chahta hum ki yah tero card dictionari se un chune hue card ko hataa den.yahan char he:

tero = {1: "da magician", 2: "da hai pujari", 3: "da ampress", 4: "da emperor", 5: "da hirophent", 6: "da lovers", 7: "rath ", 8:" strength ", 9:" da harmit ", 10:" wheel of fortune ", 11:" justise ", 12:" da hangd main ", 13:" deth ", 14:" temprence ",15: "da devil", 16: "da tower", 17: "da star", 18: "da moon", 19: "da san", 20: "jajment", 21: "da world", 22:"murkh"}
user
main kar rahaa hoon.is kaary ko saral banane ke liye, ham `yadrichhik` modul kaa upyog karne ja rahe hai or tero card deck se teen yadrichhik card lene ke liye fnction ke bheetar iskaa upyog karte hai.neeche die gaye purna code par ek nazar daalen.

`` `paythan
yadrichhik aayaat

# fnction jo 3 yadrichhik card lautaata he or 3 sandesh print karata he
def pick_three_cards (card):
  teen_card = yadrichhik. namoona (suchi (card), 3)
  print ("aapkaa ateet he", cards.get (teen_card [0]))
  print ("aapkaa vartmaan he", cards.get (teen_card [1]))
  print ("aapkaa bhavishya he", cards.get (teen_card [2]))
  teen_card lauten

tero = {1: "da magician", 2: "da hai pujari", 3: "da ampress", 4: "da emperor", 5: "da hirophent", 6: "da lovers", 7: "rath ", 8:" strength ", 9:" da harmit ", 10:" wheel of fortune ", 11:" justise ", 12:" da hangd main ", 13:" deth ", 14:" temprence ",15: "da devil", 16: "da tower", 17: "da star", 18: "da moon", 19: "da san", 20: "jajment", 21: "da world", 22:"murkh"}

# fnction ko kol karke 3 card praapt karen
teen_card = pick_three_cards (tero)

# tero dictionari se 3 card nikaalen
tero.pop (teen_card [0])
tero.pop (teen_card [1])
tero.pop (teen_card [2])
`` `

`random` modul ko aayaat karne ke baad, ham fnction ko paribhaashit karte hai` pick_three_cards` jo ek tark ke rup main card ke ek shabdkosh ko sweekaar karata he.andar, yah ek suchi main parivartit karne ke baad 3 card chunane ke liye `yadrichhik.sample ()` kaa upyog karata he, jahaan yah kuch print statement ke baad unhen lautaata he.baad main, ham fnction ko kol karte hai or parinaam ko `thri_cards 'main sangrahit karte hai.vahaan se, ham mul tero deck se 3 card nikaalte hai.
assistant
<|system|>
</s>
<|user|>
mere paas ek paythan dictionari he jo tero card kaa pratinidhitiv karata he.ek fnction likhen jo deck se 3 random card chunata he or 3 linon ko print karata he, jisamen kaha gaya he ki "aapkaa ateet [mulya] he", "aapkaa vartmaan [mulya] he", or "aapkaa bhavishya [mulya]" he, jahaan mulya kaa mulya darshata hachune hue card.fnction ko teen card lautaaen.fnction ke baahar, main chahta hum ki yah tero card dictionari se un chune hue card ko hataa den.yahan char he:

tero = {1: "da magician", 2: "da hai pujari", 3: "da ampress", 4: "da emperor", 5: "da hirophent", 6: "da lovers", 7: "rath ", 8:" strength ", 9:" da harmit ", 10:" wheel of fortune ", 11:" justise ", 12:" da hangd main ", 13:" deth ", 14:" temprence ",15: "da devil", 16: "da tower", 17: "da star", 18: "da moon", 19: "da san", 20: "jajment", 21: "da world", 22:"murkh"}</s>
<|assistant|>
main kar rahaa hoon.is kaary ko saral banane ke liye, ham `yadrichhik` modul kaa upyog karne ja rahe hai or tero card deck se teen yadrichhik card lene ke liye fnction ke bheetar iskaa upyog karte hai.neeche die gaye purna code par ek nazar daalen.

`` `paythan
yadrichhik aayaat

# fnction jo 3 yadrichhik card lautaata he or 3 sandesh print karata he
def pick_three_cards (card):
  teen_card = yadrichhik. namoona (suchi (card), 3)
  print ("aapkaa ateet he", cards.get (teen_card [0]))
  print ("aapkaa vartmaan he", cards.get (teen_card [1]))
  print ("aapkaa bhavishya he", cards.get (teen_card [2]))
  teen_card lauten

tero = {1: "da magician", 2: "da hai pujari", 3: "da ampress", 4: "da emperor", 5: "da hirophent", 6: "da lovers", 7: "rath ", 8:" strength ", 9:" da harmit ", 10:" wheel of fortune ", 11:" justise ", 12:" da hangd main ", 13:" deth ", 14:" temprence ",15: "da devil", 16: "da tower", 17: "da star", 18: "da moon", 19: "da san", 20: "jajment", 21: "da world", 22:"murkh"}

# fnction ko kol karke 3 card praapt karen
teen_card = pick_three_cards (tero)

# tero dictionari se 3 card nikaalen
tero.pop (teen_card [0])
tero.pop (teen_card [1])
tero.pop (teen_card [2])
`` `

`random` modul ko aayaat karne ke baad, ham fnction ko paribhaashit karte hai` pick_three_cards` jo ek tark ke rup main card ke ek shabdkosh ko sweekaar karata he.andar, yah ek suchi main parivartit karne ke baad 3 card chunane ke liye `yadrichhik.sample ()` kaa upyog karata he, jahaan yah kuch print statement ke baad unhen lautaata he.baad main, ham fnction ko kol karte hai or parinaam ko `thri_cards 'main sangrahit karte hai.vahaan se, ham mul tero deck se 3 card nikaalte hai.</s>
