36 Topics

Member Avatar for
Member Avatar for Wilha

im trying to write a code that i can input a,b,c and the code will run it in the quadratic formula and give me the answer but i keep getting a error problem import math from math import sqrt print print ("Welcome to the Quadratic Program") print ("--------------------------------") print a=input("Enter …

Member Avatar for Wilha
0
358
Member Avatar for Y DIY

I would like to know how to use a list contain with file names returned from a function to search a directory based on that list then copy the matching files to another directory. Following is what I would like to accomplish in logical order. 1. Existing Function getPromptList() return …

Member Avatar for Y DIY
0
3K
Member Avatar for g_amanu

if a file that has multiple columns, like [CODE]1 7 3 8 5 6 3 4 5 6 7 8 1 7 6 4 4 3[/CODE] i want to read the first row and see if there numbers that are grater than 6. Then add that number to all the …

Member Avatar for TrustyTony
0
156
Member Avatar for asa88

i am trying to do this consider a=[[(34,5),(34,6)],[(35,5),(35,6)]] b=[(36,5),(36,6)] i want to put elements of b in a so i do a.append(b) now if i do b.pop() why does it effect a? a ends up being `a=[[(34,5),(34,6)],[(35,5),(35,6)],[(36,5)]]` WHY?? is there a way around it?? i don't think i had this …

Member Avatar for Enalicho
0
12K
Member Avatar for CalculusG

there are xls files saved in a folder and all of them have have values in the 1st, 2nd, and 3rd columns. in the folder there are about 100 excel files, the first five number of excel file names represent the patient id.there are about 5 to 10 excels for …

Member Avatar for TrustyTony
0
199
Member Avatar for TrustyTony

Dig up this for discussion thread request and some Googling. By little experiment found the different forms for sending message commands. Could no send in Python3 the code of program itself so only simple test "Hello". Sorry that subject is left incorrectly refering program name.

Member Avatar for JoshuaBurleson
3
2K

The End.