Each number should have its on separate file with screenshots. Submit source code (.py) in separate file with screenshots of the output.
1. Implement a class to represent a playing card. Your class should have the
following methods:
__ init __ (self, rank, suit) rank is an int in the range 1-13 indicating
the ranks ace-king and suit is a single character "d " "c " "h " or "s" ' ' ' '
indicating the suit (diamonds, clubs, hearts, or spades). Create the
corresponding card.
getRank(self) Returns the rank of the card.
get Suit (self) Returns the suit of the card.
value(self) Returns the Blackjack value of a card. Ace counts as 1, face
cards count as 10.
__ str __ (self) Returns a string that names the card. For example, "Ace
of Spades".
Note: A method named __ str __ is special in Python. If asked to convert an
object into a string, Python uses this method, if it's present. For example,
c = Card(l,"s")
print c
will print 'Ace of Spades."
Test your card class with a program that prints out n randomly generated cards and the associated Blackjack value where n is a number supplied by the user.
2. Write and test a function innerProd(x , y) that computes the inner product
of two (same length) lists. The inner product of x and y is computed as:
n-1
∑ XiYi
i=O
[login to view URL] Syracuse (also called "Collatz" or "Hailstone") sequence is generated
by starting with a natural number and repeatedly applying the following
function until reaching 1:
{ x/ 2 if x is even
syr(x) = 3x + 1 if x is odd
For example, the Syracuse sequence starting with 5 is: 5, 16, 8, 4, 2, 1. It is
an open question in mathematics whether this sequence will always go to
1 for every possible starting value.
Write a program that gets a starting value from the user and then prints
the Syracuse sequence for that starting value.
4. Write a program that computes the fuel efficiency of a multi-leg journey.
The program will first prompt for the starting odometer reading and then
get information about a series of legs. For each leg, the user enters the
current odometer reading and the amount of gas used (separated by a
space). The user signals the end of the trip with a blank line. The program
should print out the miles per gallon achieved on each leg and the total
MPG for the trip.
5.A year is a leap year if it is divisible by 4, unless it is a century year that is
not divisible by 400. (1800 and 1900 are not leap years while 1600 and
2000 are.) Write a program that calculates whether a year is a leap year.
6. A certain CS professor gives 100-point exams that are graded on the scale
90-100:A, 80-89:B, 70-79:C, 60-69:0, <60:F. Write a program that accepts an exam score as input and uses a decision structure to calculate the
corresponding grade.
MASTERS IN PYTHON,
OVER 11 YEARS OF EXPERIENCE,
DEAR EMPLOYER,
After KEENLY reading your description and being in possession of all CLEARLY STATED REQUIRED SKILLS as this is my area of PROFESSIONAL SPECIALIZATION having the above QUALIFICATIONS, i hereby humbly request you to consider my bid for QUALITY and PROFESSIONAL work.
THANK-YOU.
Hi, I am a python ******************** developer with 10 years of experiences.
I have made many projects including various high skills and have many experiences. I can accomplish the following skills with python:
Deep Learning/AI - CNN,RNN,LSTM,RCNN,Autoencoder etc with Keras and Tensorflow For Computer vision, NLP and Audio processing
Machine Learning skills- KNN, SVM, Decision Tree and Random Forest for prediction & Big Data /Data analysis
GUI programing with Tkinter and PyQt
Web Programming with Django, Flask.
Web Scraping, Data Extraction with Selenium,BeautifulSoup,Requestand scrapy
OpenCV: Image Processing
In addition, I have many skills related python. So I can do all kinds of projects based on python with high quality. Please contact with me.
Dear sir.
As an experienced Haskell, C#, C/C++, Java and Python expert, it is interesting to me.
I have been working on various Haskell, C#, C/C++, Java and Python projects for 10+ years.
As i having programming contestant experience, I already have full knowledge on most of modern algorithms & data structures.
I think I could be the right person for your project.
I would be very appreciated if i have a chance to help you to meet your goal.
Thank you.
Shelton B.
Hello sir, I am proficient in python and can help you solve all the 6 tasks very quickly. I have read all of them and can start working right away. I will make separate files for all of them and I'll send you screenshot of working files.
Contact me for more details.
Thank you.
Hi, I hope you are fine. I just read your project description. I am glad to find out that this project fits my skills. I will be happy to complete this project for you as described.
Please leave a message in my chatbox for a further detailed discussion about your project.
Thank you!!
Hello, how are you?
I am very interested in your project.
I am an expert in Python.
I have a lot of experiences in many fields.
I can help you well with high quality and Low price.
Please message to me.Thanks.
Hello, I’d like to thank you for posting project. I’ve just checked your project description. I have been developing for 5 years so I am a senior developer.
You want skills are similar to my skills. You can see my skill in my profile.
I think you want to hire a reliable developer. Don’t you? I find my happy and pleasant when the clients are satisfied. So I try harder and harder to develop projects perfectly. If someone asks me about my happy and pleasant, I always will talk that when the clients are satisfied because I develop their projects excellently and perfectly, I am very happy. I would love to work with you. I can complete your project on time and with your budget. I hope you contact me soon. Thank you. Best Regards.