Python Forum
Help with writing or plan part of code
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help with writing or plan part of code
#1
You can try to write it in python for me, but I also accept somthing like a code plan without actual code

There are two dictionaries in first are names of points assigned to cost of each, in second are points which are directly connected in format like this:

Dictionary={"a":"b c","b":"a d","t":"a b"}

So every point is a key in dictionary and have connected points in it separated by Space. The goal is to get the cheepest way to get controll on whole network and the directly connected points to the one that your program is "Buying" are free, so I want to get all names of points that program buy and the cost of all points .

[Image: 97kkD.png]
This is the cheapest way to do this example(Red circles means purchased points, the dots, are from one that are connected.

My English is not perfect so there can be some errors. This is my first post here, so description of my problem can be wonky.
Reply
#2
Quote:You can try to write it in python for me

First you need to make an effort, and if you run into trouble, show what you've written, and ask specific questions. We will be glad to help.

You can post under the Jobs forum, If you would like someone else to write (or create plan) for you,
Here's the forum rule for Job postings, if interested in doing so:
  • Jobs are for if you want to pay a Python programmer to do the work for you.
    Or it is for if you have a job opening for a programmer and want to announce it.
    Job offers require salary, wage, or sum amount within the post.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  writing and running code in vscode without saving it akbarza 1 344 Jan-11-2024, 02:59 PM
Last Post: deanhystad
  Remove part of the code hack3rcon 5 576 Jan-08-2024, 10:25 AM
Last Post: hack3rcon
  Could you explain each part of the code? Tsushida 2 1,466 Mar-20-2022, 08:19 AM
Last Post: Larz60+
  Writing a basic shift code djwilson0495 2 2,218 Aug-16-2020, 01:52 PM
Last Post: djwilson0495
  a better way of writing code Than999 6 3,281 Jun-13-2020, 08:02 AM
Last Post: pyzyx3qwerty
  Explanantion needed in part of code... jayg320 6 3,438 Apr-26-2020, 11:33 AM
Last Post: anbu23
  code not writing to projNameVal portion of code. umkc1 1 1,641 Feb-05-2020, 10:05 PM
Last Post: Larz60+
  mapping-camera-coordinates-to-a-2d-floor-plan fauveboyxuuki 0 2,493 Dec-10-2019, 10:34 PM
Last Post: fauveboyxuuki
  C API: Writing Executed Code to a File myanrueller 0 1,671 Nov-17-2019, 09:35 PM
Last Post: myanrueller
  i am getting error while writing code for exception logging rkgupta51179 1 1,814 Nov-03-2019, 05:12 AM
Last Post: buran

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020