Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: Removing string within string
Post: Removing string within string

I am trying to remove part of a string withing a string. for example if a string is "atgtga" i want the output to be "atg" my if statement is [inline]'if (x=="tga" or x=="tag" or x=="taa"): do...
fivestar Homework 2 3,104 Oct-19-2017, 09:25 PM
    Thread: String Slicing
Post: String Slicing

im trying to enter a string into the one_frame function (one_frame("catatgdaftgaatg") What i am trying to do is return a list ["atgdaf","atg"]. whenever i find "atg" in the string, i want to grab that...
fivestar Homework 1 2,597 Oct-17-2017, 07:57 PM
    Thread: Reading string groups of 3.
Post: RE: Reading string groups of 3.

Thats the only code i have so far.
fivestar Homework 2 2,638 Oct-15-2017, 04:03 PM
    Thread: Reading string groups of 3.
Post: Reading string groups of 3.

Im trying to print out groups of three of the string. the code i have so far only prints out every third letter. Example: a d l j... I want it to print out abc ded lsf.... y="abcdedlsfjldsjflsdjfslfj...
fivestar Homework 2 2,638 Oct-15-2017, 02:26 AM
    Thread: Reading a text file
Post: Reading a text file

I have a text file of letters on 8 different lines. I want to read through the file and print out the length of every 2nd line of that file and store it into a list. for example the text file would lo...
fivestar Homework 7 5,573 Oct-11-2017, 11:49 PM

User Panel Messages

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