Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #49657
| Path | csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!xlned.com!feeder7.xlned.com!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <kasturisurya@gmail.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.019 |
| X-Spam-Evidence | '*H*': 0.96; '*S*': 0.00; 'true,': 0.05; 'false,': 0.09; 'bool': 0.16; 'here..': 0.16; 'all.': 0.16; 'sender:addr:gmail.com': 0.17; 'users.': 0.18; 'all,': 0.19; 'seems': 0.21; 'initial': 0.24; 'question': 0.24; 'values': 0.27; 'message-id:@mail.gmail.com': 0.30; 'anyone': 0.31; 'quite': 0.32; 'something': 0.35; 'but': 0.35; 'received:google.com': 0.35; 'false': 0.36; 'thanks': 0.36; 'should': 0.36; 'list': 0.37; 'to:addr:python-list': 0.38; 'skip:& 20': 0.39; 'to:addr:python.org': 0.39; 'total': 0.65 |
| DKIM-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:from:date:x-google-sender-auth:message-id :subject:to:content-type; bh=o0MzSd6Cjqp7McF5WP5sXVoYnZbirkXZVBTmfc0srUY=; b=YVKkaNJ9jTQQYJWBh6FL89Hs6ONDISB5tBlqJD5vnv5S87pbwK7YGV58cCEHDwksR3 pLWx/7DDHxabzWJtMgoHVcCtAc66ua41H+JiRK622jcGYnOR0DcXv51+FNOeJTVKO/0D 47AcaDdwfLUcFRvtcb/t9Hqva5Kmij7oqs/kHn8iWj/1C2Y+xOJ0DgqsCgTI9IRORu2s fT0vtEqxUOqQIrz7Y2E9ICcG8l+376+Yf1fTtUtWqby89z9zqHCCyC8miW/0z+IqYhcr C7SJF7HL53cYir7EyEJzALdoW+Rkx0N7DZhcO8CP5KAGB/dVmIVy300Lrp7NQmDUl65V Qcpg== |
| X-Received | by 10.60.132.40 with SMTP id or8mr5223110oeb.65.1372801451496; Tue, 02 Jul 2013 14:44:11 -0700 (PDT) |
| MIME-Version | 1.0 |
| Sender | kasturisurya@gmail.com |
| From | Surya Kasturi <suryak@ieee.org> |
| Date | Tue, 2 Jul 2013 23:43:51 +0200 |
| X-Google-Sender-Auth | 1hchBheHAaUhur8HA0pbN8EpQfk |
| Subject | how to calculate reputation |
| To | python-list@python.org |
| Content-Type | multipart/alternative; boundary=047d7b471e5add1f8104e08e3ea4 |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.15 |
| Precedence | list |
| List-Id | General discussion list for the Python programming language <python-list.python.org> |
| List-Unsubscribe | <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe> |
| List-Archive | <http://mail.python.org/pipermail/python-list/> |
| List-Post | <mailto:python-list@python.org> |
| List-Help | <mailto:python-list-request@python.org?subject=help> |
| List-Subscribe | <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.4127.1372801460.3114.python-list@python.org> (permalink) |
| Lines | 43 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1372801460 news.xs4all.nl 15970 [2001:888:2000:d::a6]:47695 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:49657 |
Show key headers only | View raw
[Multipart message — attachments visible in raw view] - view raw
Hi all, this seems to be quite stupid question but I am "confused".. We set the initial value to 0, +1 for up-vote and -1 for down-vote! nice. I have a list of bool values True, False (True for up vote, False for down-vote).. submitted by users. [True, False, False, True....] Now to calculate the total reputation should I take True = +1, False=0 [or] True = +1, False=-1 ?? for adding all. I am missing something here.. and that's clear.. anyone please help me on it? Thanks
Back to comp.lang.python | Previous | Next — Next in thread | Find similar | Unroll thread
how to calculate reputation Surya Kasturi <suryak@ieee.org> - 2013-07-02 23:43 +0200
Re: how to calculate reputation Tobiah <toby@tobiah.org> - 2013-07-02 14:59 -0700
Re: how to calculate reputation Surya Kasturi <suryak@ieee.org> - 2013-07-03 00:19 +0200
Re: how to calculate reputation Ian Kelly <ian.g.kelly@gmail.com> - 2013-07-02 16:29 -0600
Re: how to calculate reputation Joshua Landau <joshua.landau.ws@gmail.com> - 2013-07-02 23:27 +0100
Re: how to calculate reputation Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-07-03 00:18 +0000
Re: how to calculate reputation Chris Angelico <rosuav@gmail.com> - 2013-07-03 10:26 +1000
csiph-web