Programming

Programming questions? Ask a programmer for answers ASAP

Connect one-on-one with {0} who will answer your question

Related Programming Questions
Write a function named shopping_list that identifies which
Second opinion] Write a function named shopping_list that identifies which items are within and outside of a given item budget. The function shopping_list takes two parameters:items, a dictionary in w… read more
Kunal
Kunal
490 satisfied customers
I have two questions about python code. I will show you, it
that is function is used to read the file, and detect the frequency of each character in the string, run in cmd, and output the result1.I need to use unit tests to test the above code, but I don't know how to do it. I want to know how to write unit test code to test my function2. I want to import the above functions as modules into a new file and add the new functions to the new file. This function is used to create the output of the first function as a CSV file, and the name of this CSV file depends on what I input on cmd. For example, [python test.py -c test02] can make the above function output results. The function of the new function is that if I enter [python test.py -c test neos], neos will be the file name of the new CSV file to be output. This is my code, but I cannot output the required information, so I need help. … read more
Kunal
Kunal
490 satisfied customers
Need help in python coding. I haven't started yet but was
I haven't started yet but was due to night. It is an unexpected test and need to submit to night … read more
Your Solution
Your Solution
Software Developer and Project Manager
Master in Science
2,922 satisfied customers
Write a new function named compound_by_period that takes the
Write a new function named compound_by_period that takes the same three inputs as before; instead of writing it from scratch, you can copy the previous function definition, paste a new function defini… read more
Bing
Bing
Freelance IT Consultant
2,052 satisfied customers
Objectives: ● apply techniques you have learned this quarter
https://1drv.ms/u/s!AinqrCE4_br1hHMUQj56_77Rywl8?e=dekXgfObjectives: ● apply techniques you have learned this quarter in one final project ● specifically work with files, strings, lists, counters, and… read more
Your Solution
Your Solution
Software Developer and Project Manager
Master in Science
2,922 satisfied customers
I have a question about a python code. Write a function
Write a function named “total_population” that takes a string then a list as parameters where the string represents the name of a CSV file containing city data in the format “CountryCode,CityName,Region,Population,Latitude,Longitude” and the second parameter is a list where each element is itself a list containing 3 strings as elements representing the CountryCode, CityName, and Region in this order. Return the total population of all cities in the list. Note that the city must match the country, name, and region to ensure that the correct city is being read. … read more
Kunal
Kunal
490 satisfied customers
On python 3.8 Trying to make a program that can prompt for
On python 3.8 Trying to make a program that can prompt for five students test grades and give the average grade. I made the list and using the for function I'm trying to get a prompt to ask for input … read more
Your Solution
Your Solution
Software Developer and Project Manager
Master in Science
2,922 satisfied customers
I'm currently learning python but I can't wrap my head
I'm currently learning python but I can't wrap my head around some stuffs … read more
Kunal
Kunal
490 satisfied customers
I am new to python and I am trying to import data from a
I am new to python and I am trying to import data from a csv, combine the input fields with some machine language and then export the string of data to a text file. My Code looks like this: import csv… read more
Eric A.
Eric A.
Software Support Specialist
BBS
6 satisfied customers
I am working on a homework assignment for a python course. I
Hello, my name is***** am working on a homework assignment for a python course. I am trying to input a text file to python so that I can calculate BMI and add classifications to the bmi (such as under… read more
LogicPro
LogicPro
Computer Software Engineer
Bachelor of Technology
8,603 satisfied customers
Python 2.7.12 question - how do i write a list containing a
Python 2.7.12 question - how do i write a list containing a certain number of records to a file? The number of records is based on raw input. I need to separate the list into 2 separate files, one con… read more
Steve
Steve
Consultant
Bachelor
298 satisfied customers
Im trying to simulate a router that uses the longest-prefix
HI. Im trying to simulate a router that uses the longest-prefix match by creating a program in python and it's giving me hard time. I have to create two .txt files. One file should have something like… read more
Steve
Steve
Consultant
Bachelor
298 satisfied customers
Write a c program that validates a sequence of digits in CSV
The following two questions assume the file test contains comma-delimited digits on separate lines as follows: 4,7,1,2,7 1,8,3 1,2,8,3,4,7,9,4,1,0 Thus each line contains a list of single digits separ… read more
jatechexpert
jatechexpert
Master's Degree
1,337 satisfied customers
C Program Write a program that prompts the user for a filename
C Program Write a program that prompts the user for a filename and a line number (say n), and subsequently prints (to the screen) the nth line of the file to the screen. You may assume that the file (… read more
LogicPro
LogicPro
Computer Software Engineer
Bachelor of Technology
8,603 satisfied customers
Write a program that will record the purchases made at a store.
Write a program that will record the purchases made at a store. For each purchase, read from the keyboard an item's name, its price, and the number bought. Compute the cost of the purchase (number bou… read more
ATLPROG
ATLPROG
Sr Software Engineer
Master's Degree
7,700 satisfied customers
Teacher added to the project. 1. Write a script that inputs
Teacher added to the project. 1. Write a script that inputs a line of plain text and a distance value and outputs an encrypted text using a Caesar cipher. The script should work for any printable char… read more
Brian H
Brian H
Senior Software Engineer
Master's Degree
55 satisfied customers
Word 2003 macro I have a document with several lists of
Word 2003 macro: I have a document with several lists of hyperlinks, separated by styled text. Each hyperlink has "URL" added to the end of the name. I want to convert the lists to a table, and separa… read more
ehabtutor
ehabtutor
C.E.O
Bachelor's Degree
1,155 satisfied customers
Good Morning! I have been sent a ton of contact info Name,
Good Morning! I have been sent a ton of contact info: Name, company, address, phone, phone, e-mail, www, etc. The problem is that the info is all in one column "A". How do I separate the info into mul… read more
John D
John D
Bachelor Degree in Engineering
140 satisfied customers
Disclaimer: Information in questions, answers, and other posts on this site ("Posts") comes from individual users, not JustAnswer; JustAnswer is not responsible for Posts. Posts are for general information, are not intended to substitute for informed professional advice (medical, legal, veterinary, financial, etc.), or to establish a professional-client relationship. The site and services are provided "as is" with no warranty or representations by JustAnswer regarding the qualifications of Experts. To see what credentials have been verified by a third-party service, please click on the "Verified" symbol in some Experts' profiles. JustAnswer is not intended or designed for EMERGENCY questions which should be directed immediately by telephone or in-person to qualified professionals.

JustAnswer in the News:

Ask-a-doc Web sites: If you've got a quick question, you can try to get an answer from sites that say they have various specialists on hand to give quick answers... Justanswer.com.
JustAnswer.com...has seen a spike since October in legal questions from readers about layoffs, unemployment and severance.
Web sites like justanswer.com/legal
...leave nothing to chance.
Traffic on JustAnswer rose 14 percent...and had nearly 400,000 page views in 30 days...inquiries related to stress, high blood pressure, drinking and heart pain jumped 33 percent.
Tory Johnson, GMA Workplace Contributor, discusses work-from-home jobs, such as JustAnswer in which verified Experts answer people’s questions.
I will tell you that...the things you have to go through to be an Expert are quite rigorous.

What Customers are Saying:

My Expert answered my question promptly and he resolved the issue totally. This is a great service. I am so glad I found it I will definitely use the service again if needed.

One Happy CustomerNew York

Wonderful service, prompt, efficient, and accurate. Couldn't have asked for more. I cannot thank you enough for your help.

Mary C.Freshfield, Liverpool, UK

This expert is wonderful. They truly know what they are talking about, and they actually care about you. They really helped put my nerves at ease. Thank you so much!!!!

AlexLos Angeles, CA

Thank you for all your help. It is nice to know that this service is here for people like myself, who need answers fast and are not sure who to consult.

GPHesperia, CA

I couldn't be more satisfied! This is the site I will always come to when I need a second opinion.

JustinKernersville, NC

Just let me say that this encounter has been entirely professional and most helpful. I liked that I could ask additional questions and get answered in a very short turn around.

EstherWoodstock, NY

Thank you so much for taking your time and knowledge to support my concerns. Not only did you answer my questions, you even took it a step further with replying with more pertinent information I needed to know.

RobinElkton, Maryland

< Previous | Next >

Meet the Experts:

LogicPro

LogicPro

Computer Software Engineer

8,603 satisfied customers

Expert in C, C++, Java, DOT NET, Python, HTML, Javascript, Design.

unvadim

unvadim

Computer Software Engineer

1,168 satisfied customers

Good knowledge of OOP principles. 3+ years of programming experience with Java and C++. Sun Certified Java Programmer 5.0.

The-PC-Guy

The-PC-Guy

Software Engineer

930 satisfied customers

Extensive Knowledge in PHP, MYSQL, CSS & Javascript

TheDoctor

TheDoctor

Software Engineer

893 satisfied customers

M.S. in Internet Information Systems

Rafael Martins

Rafael Martins

Computer Software Engineer

449 satisfied customers

Desktop, Mobile and Web Developer. 10+ years of experience. Creative solutions provider.

Ramesh Patil

Ramesh Patil

Computer Software Engineer

406 satisfied customers

MCA, 3+ years of experience in Asp.Net, C#, SSIS, VB.Net, Ms-SqlServer2005, MySql, Javascript,

Arty

Arty

Computer Software Engineer

377 satisfied customers

15+ years of programming, C, C++, Java, PHP, awk, ruby, shell, ASM, Forth, Raptor, M.A.R.I.E, Excel

< Previous | Next >

Disclaimer: Information in questions, answers, and other posts on this site ("Posts") comes from individual users, not JustAnswer; JustAnswer is not responsible for Posts. Posts are for general information, are not intended to substitute for informed professional advice (medical, legal, veterinary, financial, etc.), or to establish a professional-client relationship. The site and services are provided "as is" with no warranty or representations by JustAnswer regarding the qualifications of Experts. To see what credentials have been verified by a third-party service, please click on the "Verified" symbol in some Experts' profiles. JustAnswer is not intended or designed for EMERGENCY questions which should be directed immediately by telephone or in-person to qualified professionals.

Show MoreShow Less

Ask Your Question

x