Python data structure

Ditutup Dipasang 7 tahun yang lalu Dibayar saat pengiriman
Ditutup Dibayar saat pengiriman

Given a dictionary of dictionaries of format {key: {key: value, ...}, ...}, for example:

{'word1': {'word2': 0.5, 'word3': 0.5}, 'word4': {'word5': 0.5, 'word6': 0.25, 'word7':0.25}, 'word3': {'word8': 0.33, 'word9': 0.33, 'word10': 0.33}, 'word5': {'word11': 0.5, 'word12': 0.25, 'word13': 0.25}, 'word14': {'word15': 1}, 'word11': {'word15': 1}}

create a function that takes the dictionary, a word and a level as parameters and builds a graph (tree) for that word as a root with associated dictionary words as children and their values as edges. The function should return a dictionary of words for the product of all edges values that create a path from root to each node at the given level.

Example: given the dictionary above, 'word4', and distance 2 the function should return {'word11': 0.25, 'word12': 0.125, 'word13': 0.125}

If you have any questions, do not hesitate to ask!

Python

ID Proyek: #11707441

Tentang proyek

24 proposal Proyek online Aktif 7 tahun yang lalu

24 freelancer rata-rata menawar $23 untuk pekerjaan ini

sonus21

Hi there, I am a professional Python software developer. See my reviews and works at my profile. Ping me for discussion.

$30 USD dalam 0 hari
(54 Ulasan)
6.2
utkarshkatiyar19

hi. i have a lot of experience in python i can easily complete your task. w can have a chat. thanks.....................

$40 USD dalam 1 hari
(28 Ulasan)
5.2
cracken

I am knowledgeable in Python Tuple just check my latest reviews related to tuple data. I can give it to you on time and with quality. Let me know the best of your time to discuss so we can move forward to the next leve Lebih banyak

$29 USD dalam 0 hari
(19 Ulasan)
4.9
it2051229

Hi there, I went through the requirements and I would like to do this project if given the opportunity. Let me know if you are interested so I can have further details. Thanks.

$30 USD dalam 1 hari
(38 Ulasan)
4.8
gabontau

Hello. I have a knowledge how to do it, but please send me more detilized description if you have.

$25 USD dalam 1 hari
(21 Ulasan)
4.5
kannasanthosh

Hi, This is Santhosh from India. I am a Business Management Graduate with Computer Science engineering background who is passionate about Data, Mathematics and Technology. I have worked in many data analytics pr Lebih banyak

$30 USD dalam 2 hari
(1 Ulasan)
3.9
DanielRed

Hello, I've looked over your requirements and based on your example I think that I understand how the script should work. For word1 with parameter 2 the script should output {"word8": 0.33, "word10": 0.33, "wo Lebih banyak

$25 USD dalam 10 hari
(15 Ulasan)
4.0
nromashchenko

Hello! Your task seems pretty easy to implement. I am ready to get it done for you. Nikolay Romashchenko

$15 USD dalam 1 hari
(12 Ulasan)
3.8
anson418

Greeting, my name is Anson, I am a CS major from UC Davis. I am a programmer of around 10 years now, and currently program professionally using Python. Contact me. I can likely get this done for you within an hour o Lebih banyak

$30 USD dalam 0 hari
(4 Ulasan)
3.4
karagorn

hey, i hope i understood your question correctly. if i did here my answers. Give me award and get your code block. for level parameter is 2, for word1: {'word8': 0.165, 'word10': 0.165, 'word9': 0.165} for Lebih banyak

$20 USD dalam 2 hari
(3 Ulasan)
2.9
EstonianCoders

Hello, We are an up and coming freelancer team looking to establish ourselves on this website. As such, we do not charge a lot and are working purely to complete your project and increase our reputation. We are Lebih banyak

$25 USD dalam 1 hari
(1 Ulasan)
0.5
FairlyLocal

Hey, I have alot of experience with python and graph creation, i worked on data analysis with python and wrote something very familiour to what you are looking for using graphs (with plotly). I can make this really qu Lebih banyak

$10 USD dalam 1 hari
(0 Ulasan)
0.0
eskvaer7

I am a python developer. I work with python every day. I have an experience about one year. I will be glad to done this task as fast as I can

$10 USD dalam 1 hari
(0 Ulasan)
0.0
GuillaumeAnd

A proposal has not yet been provided

$55 USD dalam 1 hari
(0 Ulasan)
0.0
romanuwa

I am a professional software engineer graduated with a Bsc in Computer Science. I have lots of experience with python. Would love to work on this problem.

$15 USD dalam 1 hari
(0 Ulasan)
1.8
omair104

Hello, I am an experienced Python developer and would be happy to work on your project for you. Can you kindly send me more details regarding the project?

$25 USD dalam 1 hari
(0 Ulasan)
0.0
rangeonnicolas

Well... this sounds quite easy! Do you want is as a command line program? I see a lot of people already bet on this project, but in case, feel free to contact me ;) Thanks, Nicolas

$14 USD dalam 1 hari
(0 Ulasan)
0.0