Hello All,
I am new to this email list as can see from subject, my name is
Christopher. I am trying to learn how to design a program but I seem not
to find any resource online that will teach how to design the program
before you start programming.
I would like to create a program that will filte
akuma ukpo wrote:
> I am defining the function in one .py file and testing the function in
> another .py file.
>
> this is my code for the test:
>
> def test_quantity_convert(self):
> self.assertEqual(gallons_to_cups(0), 16)
> self.assertEqual(gallons_to_cups(100), 1600)
>
>
On Thu, Mar 7, 2013 at 2:36 PM, akuma ukpo wrote:
> I am defining the function in one .py file and testing the function in
> another .py file.
>
> this is my code for the test:
>
> def test_quantity_convert(self):
> self.assertEqual(gallons_to_cups(0), 16)
Good, thanks for showing us
On Thu, Mar 7, 2013 at 4:36 PM, akuma ukpo wrote:
> I am defining the function in one .py file and testing the function in
> another .py file.
>
> this is my code for the test:
>
> def test_quantity_convert(self):
> self.assertEqual(gallons_to_cups(0), 16)
> self.assertEqual(g
I am defining the function in one .py file and testing the function in
another .py file.
this is my code for the test:
def test_quantity_convert(self):
self.assertEqual(gallons_to_cups(0), 16)
self.assertEqual(gallons_to_cups(100), 1600)
this is my code for the defined functi
i now know how to define functions.
My problem is i don't know what particular function that converts gallons
directly to cups.
However, i derived a function that converts celsius to fahrenheit (9/5 *
temperature + 32) tested it using python and it passed the test.
I need a function for gallons
On Thu, Mar 7, 2013 at 1:55 PM, akuma ukpo wrote:
> i don't know how to write functions. so i guess that is where i'm stuck. i
> was following a tutorial on my lab document but i still did not understand
> what to do. i will attach the pdf and python files as well.
I am CCing the rest of the Pyth
On 07/03/2013 20:23, akuma ukpo wrote:
I have a python lab to do but for some reason i can't understand.
(a) Write a function which converts from gallons to cups2
(b) Now we’d like to be able to convert from cups to milliliters, since
metric measurements
are easier to convert between. Implement
> (a) Write a function which converts from gallons to cups2
Do you know how to write functions? Can you write a function that
takes a number and returns twice that number, for example?
Show us what you have seen already, and we may be able to start from there.
The question you are asking does
On Thu, Mar 7, 2013 at 3:23 PM, akuma ukpo wrote:
> I have a python lab to do but for some reason i can't understand.
>
>
> (a) Write a function which converts from gallons to cups2
> (b) Now we’d like to be able to convert from cups to milliliters, since
> metric measurements
> are easier to con
I have a python lab to do but for some reason i can't understand.
(a) Write a function which converts from gallons to cups2
(b) Now we’d like to be able to convert from cups to milliliters, since
metric measurements
are easier to convert between. Implement a function which does this.
(c) We’d als
Thanks Devin. now I have a better understanding of what happens.
Let me explore finditer- hearing for the first time.
On Mon, Mar 4, 2013 at 8:47 PM, Devin Jeanpierre wrote:
> On Mon, Mar 4, 2013 at 8:22 PM, Charles Leviton
> wrote:
> > I have some confusion regarding when findall returns a li
On 07/03/13 00:35, Lolo Lolo wrote:
Because i find following your tutorials very easy i have looked
> at the other topics you have on your site.
> i notice they are not available in Python 3
Not yet, I'm still working on them. :-)
I have been very busy at work the last 2-3 years so made littl
13 matches
Mail list logo