Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: Subsequence function
Post: Subsequence function

Write a python function to determine whether or not string x is a subsequence of y. Unlike substrings, subsequences do not have to be consecutive. For example: is_subseq('13','123') True is_subseq('i...
tomhuang Homework 6 5,196 Jul-24-2017, 02:12 AM
    Thread: Sort only the odd numbers
Post: Sort only the odd numbers

my question here Define a function that takes an array of numbers and sorts only the odd ones in ascending order, leaving the even ones in their places. No need to move the number 0 should it occur. H...
tomhuang General Coding Help 5 13,260 Jul-20-2017, 05:10 PM
    Thread: Replacing string values with count
Post: Replacing string values with count

my question here Define a function that takes a string and replaces each character with a string of the number of times that letter occurs in the word. 'Hello' -> '11221' Ignore capitalization, so...
tomhuang Homework 2 3,422 Jul-19-2017, 02:17 AM

User Panel Messages

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