Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Python questions help
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  5 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
su29090  
View profile  
 More options Nov 14 2012, 8:47 pm
Newsgroups: comp.lang.python
From: su29090 <129k...@gmail.com>
Date: Wed, 14 Nov 2012 17:47:33 -0800 (PST)
Local: Wed, Nov 14 2012 8:47 pm
Subject: Python questions help
I brought a python book and i'm a beginner and I read and tried to do the questions and I still get it wrong.

How to create a program that reads an uspecified number of integers, that determines how many positive and negative values have been read, and computes the total and average of the input values(not counting zeroes). My program have to end with the input 0 and have to display the average as a floating-point number.

Use nested loops that display the following patterns in separate programs:

1
12
123
1234
12345
123456

123456
12345
1234
123
12
1

     1
    21
   321
  4321
 54321
654321

Write a program that computes the following summation:

1/ 1+square root of 2 + 1/ 1+square root of 2 + square root of 3 + 1/ 1+square root of 3 + square root of 4...+ 1/ 1+square root of 624 + square root of 625

How to  a program to draw a chessboard using range?

Thanks


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Chris Angelico  
View profile  
 More options Nov 14 2012, 9:01 pm
Newsgroups: comp.lang.python
From: Chris Angelico <ros...@gmail.com>
Date: Thu, 15 Nov 2012 13:01:16 +1100
Local: Wed, Nov 14 2012 9:01 pm
Subject: Re: Python questions help

On Thu, Nov 15, 2012 at 12:47 PM, su29090 <129k...@gmail.com> wrote:
> I brought a python book and i'm a beginner and I read and tried to do the questions and I still get it wrong.

Pick one of the questions, write as much of the code as you can, and
then post the specific difficulties you're having. If we write the
code for you, it won't help you to learn, will it?

Once you have some code that isn't working, we can help you to figure
out what it is that isn't working. But do your best to write the code
yourself first.

Chris Angelico


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Chris Angelico  
View profile  
 More options Nov 16 2012, 1:08 pm
Newsgroups: comp.lang.python
From: Chris Angelico <ros...@gmail.com>
Date: Sat, 17 Nov 2012 05:08:30 +1100
Local: Fri, Nov 16 2012 1:08 pm
Subject: Re: Python questions help

On Sat, Nov 17, 2012 at 5:00 AM, rh <richard_hubb...@lavabit.com> wrote:
> "How many people think programming skills are inherent?"
> i.e. that some people are just born with the gift to be good programmers
> Result: very few hands raised maybe a couple (possibly non-progammers??)

Maybe, but there's definitely something that happens close to birth.
If your parents give you the name Chris, you're more likely to become
a geek and a programmer.

ChrisA


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Neil Cerutti  
View profile  
 More options Nov 19 2012, 9:57 am
Newsgroups: comp.lang.python
From: Neil Cerutti <ne...@norwich.edu>
Date: 19 Nov 2012 14:57:49 GMT
Local: Mon, Nov 19 2012 9:57 am
Subject: Re: Python questions help
On 2012-11-16, Chris Angelico <ros...@gmail.com> wrote:

> On Sat, Nov 17, 2012 at 5:00 AM, rh
> <richard_hubb...@lavabit.com> wrote:
>> "How many people think programming skills are inherent?" i.e.
>> that some people are just born with the gift to be good
>> programmers Result: very few hands raised maybe a couple
>> (possibly non-progammers??)

> Maybe, but there's definitely something that happens close to
> birth. If your parents give you the name Chris, you're more
> likely to become a geek and a programmer.

There are people with rare talent who can program in a way that
most others can't, .e.g, Chris Sawyer. But, as Louis Moyse, a
great musician remarked: "Without hard work, talent means
nothing."

--
Neil Cerutti


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Chris Angelico  
View profile  
 More options Nov 19 2012, 4:35 pm
Newsgroups: comp.lang.python
From: Chris Angelico <ros...@gmail.com>
Date: Tue, 20 Nov 2012 08:35:01 +1100
Local: Mon, Nov 19 2012 4:35 pm
Subject: Re: Python questions help

Sure, it definitely takes work. You still have to put in your ten
thousand hours. I don't know what the connection is, but there do seem
to be a LOT of geeky Chrises; in fact, in any mid-length thread here
on python-list, you could probably conclude with a "Thanks for the
tip, Chris, it works now!" without even bothering to read it.

ChrisA


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »