Posted by **Ben** on Monday, May 31, 2010 at 8:16pm.

Write a Function

You will be given one of the following problems to solve using and writing Python functions.

Given a list of words, return an array which indicates the frequency that each letter occurs. For example, in the list [apple, bob], [ a -> 1, b->2, e->1, l->1, o->, p->2] . The order of the array does not matter and a Frequency class will be provided.

Given a list of words, indicate whether the list constitutes a Word Lad- der. A Word Ladder is a series of words where each succeeding word changes by only one letter. You may not assume that all words will be of the same length, and you may not assume the length of the list.

Given an integer greater than 2, X, return an array populated with all prime numbers up to and including X.

- Computer Science JAVA FUNCTIONS -
**SraJMcGin**, Monday, May 31, 2010 at 8:27pm
Perhaps one or more of the following links will help you solve this problem:

http://search.yahoo.com/search?fr=mcafee&p=Computer+Science+Java+Functons+Tutorial

Sra

- Computer Science JAVA FUNCTIONS -
**MathMate**, Monday, May 31, 2010 at 8:43pm
See

http://www.jiskha.com/display.cgi?id=1275046146

Most teachers will not go as far as the above response without seeing work from you. Do not expect someone here to write the functions for you from A to Z. We offer help, but do not do your homework.

Having said that, if you post your code with which you have difficulties debugging, teachers here will be glad to help you, both for the syntax and the logic.

## Answer This Question

## Related Questions

- computer science - Hey I have three questions with creating these methods, ...
- computer science - Hey I have three questions with creating these methods can ...
- Computer science - Write a function in Python: Given a list of words, indicate ...
- Computer Science - On python/pyscripter using the turtles i have to write a ...
- math - can some one please help me with the following questions as i dont ...
- Calculus - Find the sum and difference functions f + g and f g for the ...
- Computer Science - Can anyone please write a basic c++ code for the following ...
- advanced functions/precalculus - 1. The function f(x) = (2x + 3)^7 is the ...
- ALGEBRA 2 (LOGARITHMIC FUNCTIONS) - These are some I chose to practice but I ...
- Pre-Calculus - Composition of Functions If f(x) = 2x+1 find A. f o f(x) f(f(x...

More Related Questions