Re: [Tutor] problem with a sub-class

2017-11-30 Thread Alan Gauld via Tutor
On 30/11/17 15:37, Shall, Sydney wrote: > My problem is with constructing a sub-class. > > My sub-class is constructed as follows: > > import Population_ProductivityV24 as POCWP Note that POCWP is an alias for the *module* Population_ProductivityV24. It is not a class. > line 27 : class Simula

[Tutor] problem with sub-classing

2017-11-30 Thread Sydney282003 via Tutor
I am almost a beginner. I have an error message which I cannot understand. My problem is with constructing a sub-class. I use; MAC OS V10.13.1 Anaconda Python 3.5 My base Class works properly and all 136 tests of the Base Class are correct. My sub-class is constructed as follows: import sys

[Tutor] problem with a sub-class

2017-11-30 Thread Shall, Sydney
I am almost a beginner. I have an error message which I cannot understand. My problem is with constructing a sub-class. I use; MAC OS V10.13.1 Anaconda Python 3.5 My base Class works properly and all 136 tests of the Base Class are correct. My sub-class is constructed as follows: import sys

Re: [Tutor] Counting iterations of a function

2017-11-30 Thread Bob Gailer
On Nov 30, 2017 12:56 PM, "Michael Dowell" wrote: > > Hello, I'm trying to code a magic 8-ball program and it needs to include a > counter for the number of questions asked. I'm having a hard time > implementing a count, and need a little help. I had tried to implement it > in the main() function,

Re: [Tutor] Counting iterations of a function

2017-11-30 Thread Neil Cerutti
On 2017-11-30, Michael Dowell wrote: > Hello, I'm trying to code a magic 8-ball program and it needs > to include a counter for the number of questions asked. I'm > having a hard time implementing a count, and need a little > help. I had tried to implement it in the main() function, but > that (na

Re: [Tutor] Python

2017-11-30 Thread Alan Gauld via Tutor
On 30/11/17 08:20, Jeroen van de Ven wrote: > Hello, > Can you build these 4 programms for me? Nice try. The answer is yes we can, but no we won't. You wouldn't learn anything if we did and this list is here to teach. That means you need to write the code and we will offer help and suggestions.

Re: [Tutor] Python

2017-11-30 Thread Mark Lawrence
On 30/11/17 08:20, Jeroen van de Ven wrote: Hello, Can you build these 4 programms for me? This list doesn't work like that. We will not write code for you. You make an attempt at the problems, we will then assist. 1: Input: 5 7 (rows and colloms) Output: *** *** *** *** *

Re: [Tutor] Python

2017-11-30 Thread Zachary Ware
On Thu, Nov 30, 2017 at 2:20 AM, Jeroen van de Ven wrote: > Hello, > Can you build these 4 programms for me? No, we will not do your homework for you. However, you can show us the code you've written, describe the problem you're having with it (including the full text of all error messages), and

[Tutor] Counting iterations of a function

2017-11-30 Thread Michael Dowell
Hello, I'm trying to code a magic 8-ball program and it needs to include a counter for the number of questions asked. I'm having a hard time implementing a count, and need a little help. I had tried to implement it in the main() function, but that (naturally) led it to only counting '1' for each qu

[Tutor] Python

2017-11-30 Thread Jeroen van de Ven
Hello, Can you build these 4 programms for me? 1: Input: 5 7 (rows and colloms) Output: *** *** *** *** *** 2: Move all of the letters 23 places to the right. All capital letters. A B C D E F G H I J K L M N O P Q R S T U V W X Y Z (boodschap) X Y Z A B C D E F G H I J K L M N