首页 > > 详细

辅导program编程讲解、辅导Python语言程序 辅导留学生Prolog|解析Java程序

Requirements
1.The python file name shall be Random_PlayingCards.py
2.Use a typical 52-card deck.
3.Ask user to input the number between 1 – 40. That the # of cards that will be dealt.
4.Validate the input value
5.Each card is randomly selected from the deck of cards.
6.When a card is chosen (between 1 – 52), display the card value by suit and rank (i.e. Ace of Spades).
7.Research how cards are stored in a deck (i.e. 1 = Ace of Clubs, 52 = King of Diamonds).
8.Format the output so easy to read.
9.All of the code must be developed by you.
10.Submit only the Python file.

Advance Programming.
1.This is optional: To make the program more realistic, don’t allow the same card to be dealt more than once. For example, if card 25 was already dealt, do not allow the card to be dealt again.

联系我们
  • QQ:99515681
  • 邮箱:99515681@qq.com
  • 工作时间:8:00-21:00
  • 微信:codinghelp
热点标签

联系我们 - QQ: 99515681 微信:codinghelp
程序辅导网!