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 a basic shift code djwilson0495 2 361 Aug-16-2020, 01:52 PM
Last Post: djwilson0495
  a better way of writing code Than999 6 672 Jun-13-2020, 08:02 AM
Last Post: pyzyx3qwerty
  Explanantion needed in part of code... jayg320 6 763 Apr-26-2020, 11:33 AM
Last Post: anbu23
  code not writing to projNameVal portion of code. umkc1 1 373 Feb-05-2020, 10:05 PM
Last Post: Larz60+
  mapping-camera-coordinates-to-a-2d-floor-plan fauveboyxuuki 0 736 Dec-10-2019, 10:34 PM
Last Post: fauveboyxuuki
  C API: Writing Executed Code to a File myanrueller 0 405 Nov-17-2019, 09:35 PM
Last Post: myanrueller
  i am getting error while writing code for exception logging rkgupta51179 1 526 Nov-03-2019, 05:12 AM
Last Post: buran
  Cant get grade part of code to work correctly Expel 5 720 Jul-10-2019, 05:09 AM
Last Post: perfringo
  Writing a code with 3 digit numbers while they cant contain 0 and then sum them AFKManager 2 804 Jan-13-2019, 12:00 PM
Last Post: perfringo
  Help with Code (Writing Data File) caroline_d_124 3 981 Jan-06-2019, 09:17 PM
Last Post: caroline_d_124

Forum Jump:

User Panel Messages

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