Find Jobs
Hire Freelancers

Solving a python problem

$10-30 USD

Kapalı
İlan edilme: 2 yıldan fazla önce

$10-30 USD

Teslimde ödenir
We will look at some results from the group stage from various World Cups. In each group there are 4 national teams that play 6 matches against each other. The match results are given as a list of 4-tuples, with 2 strings and 2 int: [ ("Brazil", "Scotland", 2, 1), ("Morocco", "Norway", 2, 2), ("Scotland", "Norway", 1, 1), ("Brazil", "Morocco", 3, 0), ("Brazil", "Norway", 1, 2), ("Scotland", "Morocco", 0, 3), ] For each team we can now make a statistic with 4 numbers: GF (goals for) - the number of goals the team has scored GA (goals against) - the number of goals scored against the team GD (goal difference) - the difference between GF and GA, always equal to GF-GA PT (points) - the score: 3 points to the match winner, 1 point to each team if the match is a draw These statistics should be stored in a data structure that is a dict of dicts. For the example above, it looks like this: { 'Brazil': {'GF': 6, 'GA': 3, 'GD': 3, 'PT': 6}, 'Scotland': {'GF': 2, 'GA': 6, 'GD': -4, 'PT': 1}, 'Morocco': {'GF': 5, 'GA': 5, 'GD': 0, 'PT': 4}, 'Norway': {'GF': 5, 'GA': 4, 'GD': 1, 'PT': 5}, } Sub-task 1 (make_stats) Create a function make_stats (matches), where matches is a list of match results in the format shown above. The function should return a dict with the statistics in the mentioned dict format. There is a skeleton for make_stats () already in the file, with a small if test that checks your function Sub-task 2 (compare) Here we will sort the teams in a table for the group. Print functions etc. are already ready, the only thing missing is a compare function that determines the order of the layers. The decision is made with several rules, where we use the next one when all previous rules do not give one winner: (1) Larger score PT (2) Larger target difference DG (3) Several scored goals GF (4) The winner of the direct match between the two teams (we ignore a situation where there are more than two teams that are exactly the same when we come to this rule) (5) Drawing of lots Create a function compare (matches, data, a, b) there matches is the list of match results in the format above, data is a finished dict with statistics in the format above, a and b are two strings with the names of 2 national teams (we include data as an argument so that we can ignore the function in Part 1. We can always assume that data == make_stats (matches) The function should return the number 1 if layer a is higher in the table than layer b The function should return the number -1 if layer b is higher in the table than layer a The function should print f "LOTTERY {a} {b}" and return the number 0 if the situation is a draw between a and b
Proje No: 32287956

Proje hakkında

21 teklif
Uzaktan proje
Son aktiviteden bu yana geçen zaman 2 yıl önce

Biraz para mı kazanmak istiyorsunuz?

Freelancer'da teklif vermenin faydaları

Bütçenizi ve zaman çerçevenizi belirleyin
Çalışmanız için ödeme alın
Teklifinizin ana hatlarını belirleyin
Kaydolmak ve işlere teklif vermek ücretsizdir
21 freelancer bu proje için ortalama $31 USD teklif veriyor
Kullanıcı Avatarı
Python Developer I have read your job description and I am pretty sure that I can complete every bit of your requirements. Further details and cost can be discussed in chat
$20 USD 1 gün içinde
4,9 (62 değerlendirme)
5,7
5,7
Kullanıcı Avatarı
Note: I am available to start right now! Dear Hiring Manager, I have read out your job description and the requirements for the job.I am a professional Artificial intelligence and machine learning programmer . I have over 3 years of experience in working on different projects like: * Facial Recognition * Car Detection * Car speed analysis * Chatbot based on AI and ML * Time Series while applying the following techniques: * LSTM *CNN(2D and 3D) * MTCNN *RCNN I have worked in diversity of Technologies like: *TENSORFLOW *KERAS *NEURAL NETWORKS *PYTORCH * SKLearn Working with me will become totally satisfactory results for you! I’ve become a pro and have my own technical methods of handling situations. kindly pin me back for further discussions and to initiate the work asap. Best Regards,
$10 USD 1 gün içinde
5,0 (27 değerlendirme)
5,2
5,2
Kullanıcı Avatarı
Hello, I've complete MS Software Engineering. I've 5-Year experience in Core Python development. My Core Skills are Machine Learning and AI - Deep Learning - Tensorflow - Pytorch - OpenCV - Deep Learning - Data Analysis K-mean - ID3 - Bayesian theorem - confusion matrix I'm excited with feeling that I would be able to satisfy your requirements Within Deadline. Please leave a message on my chat so we can discuss the project. Looking forward to your response, Best Regards: Aqeel Ahmed
$100 USD 2 gün içinde
5,0 (18 değerlendirme)
4,9
4,9
Kullanıcı Avatarı
Hello? How are you? Thanks for posting this job. I am a Senior Python developer with 7+ years. I have been doing this kind of python projects many times. Please let me know. Best Regards
$30 USD 1 gün içinde
5,0 (23 değerlendirme)
4,9
4,9
Kullanıcı Avatarı
Hi I have checked your project description. I have excellent programming and development skills. Contact me with all the details and requirements for your project for further discussion. I will provide you with dedicated support and follow-up. Regards Farah Khan
$30 USD 1 gün içinde
4,9 (28 değerlendirme)
4,6
4,6
Kullanıcı Avatarı
I can do this project for you. Let's discuss more details in private. Looking forward to working with you!
$50 USD 2 gün içinde
5,0 (7 değerlendirme)
4,0
4,0
Kullanıcı Avatarı
Hi there Python expert here(for over 8 years) if you hire me you can surely save your time and money You can see many python jobs in my profile wish a long term relation Looking forward to discussing more details while doing the interview. Best regards
$40 USD 1 gün içinde
4,8 (8 değerlendirme)
3,9
3,9
Kullanıcı Avatarı
Hello, If you are looking for some assistance or guidance in python, AI /ML, Backend, Flask, Django, Web Scraping, Data Structure, Algorithms and anything at all, we are the organization you are looking for. Our team has been working in this field for a very long time and we have been training a lot of interns in this domain. We would love to see you grow. Do reach out to us for the same.
$30 USD 1 gün içinde
5,0 (14 değerlendirme)
3,6
3,6
Kullanıcı Avatarı
Hi, How are you? I am very interested in your project. I am an expert in math, physics. I have +5 experiences in matlab, python, R Programming. I read your description for project carefully. I’ve worked on several similar projects like your project. I’m interested to hear more about the project. If you award me the project, I’d be pleased to discuss this further and get started for you as soon as possible. Thanks!
$25 USD 1 gün içinde
5,0 (9 değerlendirme)
3,5
3,5
Kullanıcı Avatarı
Python skilled professional with over 5 years of expertise. Can deliver on the expected lines as needed in the defined timelines. Thanks.
$40 USD 1 gün içinde
4,9 (3 değerlendirme)
2,9
2,9
Kullanıcı Avatarı
• Hi • Do you need classes? • Do you need help in your Quiz, Assignment or Exam? • If "YES" then you are at right place. • DW Solution Online is providing online classes for all grades and subjects with highly qualified Experts. We are also solving your problems, assignments quizzes and FYP. Our trial is always free. If you need any kind of help then contact us. • We have the best experts team in Biology, Chemistry, Accounting, Statistics, Mathematics, Software(AutoCAD, Microsoft, Programming) and the Medical and Engineering Field. We're providing a free Online trial class. • Our goal is to encourage and motivate students. • We're appreciating the ability to maintain skills, discipline and deal with challenging behaviour. • We have a full plan to improve your skills. We have the best collection of syllabus books, assignments and quizzes that will help you to improve your classes. We have a record to prepare Our students for the best one in their career. We have flexible timing for you. • Feel free to contact us.
$25 USD 7 gün içinde
4,7 (2 değerlendirme)
2,8
2,8
Kullanıcı Avatarı
I have 5 years of Experience in C , C++ , PYTHON , DATA STRUCTURE , ALGORITHMS HTML , CSS , JAVASCRIPT , DJANGO , AWS , GITHUB . I am interested in the project Need help with all the essentials details and I would like to offer my services and skills to finish this project successfully. I will offer you unlimited revisions and modifications until you are satisfied with my work. You are welcome to check my portfolio and to make sure you got the right person for this job.
$10 USD 1 gün içinde
4,9 (5 değerlendirme)
2,8
2,8
Kullanıcı Avatarı
Give me a couple of minutes please PYTHON developer experience over 4 years I can start right now Write to me, we will discuss the details and start
$20 USD 1 gün içinde
4,6 (6 değerlendirme)
2,6
2,6
Kullanıcı Avatarı
I have my major expertise in C++ Java & Python. I have done many projects and have experience of 4+ years. Just check me out. I will complete your project. I’ve checked all the details! I won't disappoint you. I would love to do it...!!! I am really great at these. I would show you best of mine.
$10 USD 1 gün içinde
5,0 (2 değerlendirme)
1,8
1,8
Kullanıcı Avatarı
Hello, I have 4 years of experience in python. I have done many projects in the same. I will deliver the work as per your requirements. Feel free to inbox me Thank you
$10 USD 1 gün içinde
5,0 (1 değerlendirme)
1,5
1,5
Kullanıcı Avatarı
Hello Sir/Madam I have development experience in various Programming Languages, OOP, Data Structures, Database Driven applications, APIs, Files handling and Data Transformation, ETL and various frameworks. I assure you an excellent solution of your project within the time frame and exactly according to the requirements. Thanks @CodingHelpLine
$30 USD 1 gün içinde
5,0 (1 değerlendirme)
1,5
1,5
Kullanıcı Avatarı
Hey, I have read your problem carefully and I will be able to complete both the tasks. I have very good experience with python and a good knowledge of data structures and algorithms. I have worked with various python libraries and APIs. I've also worked on several similar projects and am confident to complete your project with high quality on time. Thanks
$15 USD 2 gün içinde
0,0 (0 değerlendirme)
2,2
2,2
Kullanıcı Avatarı
I have completed Bachelor Of Engineering from Rajiv Gandhi Proudyogiki Vishwavidyalaya (State Technological University of M.P). In 2019 and then completed Certification in Advance Precision Engineering in 2021. I have worked in Amazon Web Services (India) as a Virtual Customer Service Associate. With a broad skill set of covering facets in Communication & Human Relations. Now I'm working in Anncode Solutions Pvt. Ltd as an Intern. I'm working here on Python
$25 USD 7 gün içinde
0,0 (0 değerlendirme)
0,0
0,0
Kullanıcı Avatarı
Hi, I'm a python programmer I read your project and it is very interesting, I wrote the code already and I can deliver it to you as soon as you accept my bid.
$15 USD 1 gün içinde
0,0 (0 değerlendirme)
0,0
0,0

Müşteri hakkında

   NORWAY bayrağı
Norway
0,0
0
Ara 6, 2021 tarihinden bu yana üye

Müşteri Doğrulaması

Teşekkürler! Ücretsiz kredinizi talep etmeniz için size bir bağlantı gönderdik.
E-postanız gönderilirken bir şeyler yanlış gitti. Lütfen tekrar deneyin.
Kayıtlı Kullanıcı İlan Edlien Toplam İş
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Ön izleme yükleniyor
Coğrafik konum için izin verildi.
Giriş oturumunuzun süresi doldu ve çıkış yaptınız. Lütfen tekrar giriş yapın.