Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: Python for loops giving error
Post: RE: Python for loops giving error

Thank you for help. We solved this question.
Petrus Homework 12 5,551 Jan-09-2019, 08:02 AM
    Thread: Python for loops giving error
Post: RE: Python for loops giving error

(Jan-08-2019, 01:48 PM)perfringo Wrote: what is the value of combination at the end? 96, 128, 192, 13824, 32768
Petrus Homework 12 5,551 Jan-08-2019, 02:27 PM
    Thread: Python for loops giving error
Post: RE: Python for loops giving error

(Jan-08-2019, 12:48 PM)perfringo Wrote: Is the code you provided intended correctly? It suspect that problem is that you overwriting combination value with every loop iteration and therefore you g...
Petrus Homework 12 5,551 Jan-08-2019, 01:24 PM
    Thread: Python for loops giving error
Post: RE: Python for loops giving error

(Jan-08-2019, 11:58 AM)perfringo Wrote: I am not familiar with biopython at all. I was able to find description of Bio.SeqIO.parse. According to documentation: "Turn a sequence file into an iterator...
Petrus Homework 12 5,551 Jan-08-2019, 12:29 PM
    Thread: Python for loops giving error
Post: RE: Python for loops giving error

Can please someone help me to combine the code?
Petrus Homework 12 5,551 Jan-08-2019, 11:38 AM
    Thread: Python for loops giving error
Post: RE: Python for loops giving error

(Jan-08-2019, 05:37 AM)perfringo Wrote: (Jan-07-2019, 10:56 PM)Petrus Wrote: No, I just want to multiply every single value inside the list with each other. Two possible ways to achieve that below...
Petrus Homework 12 5,551 Jan-08-2019, 10:23 AM
    Thread: Python for loops giving error
Post: RE: Python for loops giving error

No, I just want to multiply every single value inside the list with each other. For example [4,2,2,6] => gives 96 as answer. And for that, I introduce the function tool and reduce to multiply all t...
Petrus Homework 12 5,551 Jan-07-2019, 10:56 PM
    Thread: Python for loops giving error
Post: Python for loops giving error

Dear all, I am new to python programming. I wrote a code, but this code works partially. So what I basically did is writing a dictionary with keys and values. Then writing code to read a file and app...
Petrus Homework 12 5,551 Jan-07-2019, 10:01 PM

User Panel Messages

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