Received: from luster-on.vesseltip.com ([178.156.212.63]:40753) by stodi.digitalkingdom.org with esmtp (Exim 4.80.1) (envelope-from ) id 1XWCYp-0002ZK-6X for lojban@lojban.org; Mon, 22 Sep 2014 15:58:24 -0700 Message-ID: <3e7399958595f735dd2f797ee8b1080c456834-5431108-546@luster-on.vesseltip.com> Date: Mon, 22 Sep 2014 16:02:14 -0700 From: Shocking EyeCare Video Subject: Journal: 20/20 vision without glasses To: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit MIME-Version: 1.0 X-Spam-Score: -2.6 (--) X-Spam_score: -2.6 X-Spam_score_int: -25 X-Spam_bar: -- Vision PSA - Posted 9/22/2014 -Perfect Vision Exposed- Vision Journal Posts - -Scientifically proven way to get to 20/20 vision in 2 weeks Tired of having to deal with the hassle of contact lenses, glasses and eye tests? Well, what if I told you that you never had to deal with that again... You will soon see that all the visual problems you are facing are in fact completely reversible and curable IN 2 WEEKS. The video announcement below will explain. PSA Video: http://www.vesseltip.com/vision/psa/A/results.video Video Summary: 46,400 have perfected their vision within 2 weeks. manage message settings - Urgent_Info_Services 3205 Lake Sarah I n d e p e n d e n c e, MN 55359 or http://www.vesseltip.com/slo/fme3s.djf3 Look at your post, this is not really a question. What do you want to know ? You are tagging to languages quite different and we don't even know what you want to do. ibi0tux May 6 '13 at 6:20 Well, there is a struct ... Corak May 6 '13 at 6:21 I know there is struct, but i cant call a class a struct, that would be wrong Yui May 6 '13 at 6:22 1not answerable at all.what is the question? Runner May 6 '13 at 6:22 Why use a class, when you want a struct? If all you need is "pass by reference", then maybe you can call it "structlike class" or something. Corak May 6 '13 at 6:25ry changing the last line to: print str(number)This will change the list into a printable string representation.If you want to learn more about strings and formatting, check out Chapter 7 of the Python Tutorial. Actually, the whole tutorial is pretty awesome. :)EDIT: David is correct in his comment below...print converts lists to strings automatically (I suppose it does so for any type with a defined string conversion). I'm still a noob too. :p Anyway, I just checked your code in the Python interpreter, and it worked (as Luk Lalinsk said it should). Have you checked your indentation? Also, if you happen to be using Python3, you'll need to turn print into a function, e.g.: print(number)ef myDate(raw): # Try to match a date with a year. try: dt = datetime.datetime.strptime(raw, '%B %d, %Y')# Make sure its the year we want.if dt.year != 2012:return None # Error, try to match without a year.except ValueError:try:dt = datetime.datetime.strptime(raw, '%B %d') except ValueError:return None# Add in the year information - by default it says 1900 since# there was no year details in the string. dt = dt.replace(year=2012) # Strip away the time information and return just the date information. return dt.date() Please post the error and stack trace. Just telling us you got an error doesn't help. Lattyware May 31 '13 at 12:37 For reference, you probably want to use if tax1.lower() == "yes" instead of if tax1 == "Yes" or tax1 == "yes" - it's a bit simpler to read and gives the user more options (any combination of caps and lowercase). thegrinner May 31 '13 at 12:44 You have to take care of a city okay that is why there is tax! Ethan Bacon May 31 '13 at 13:34 @thegrinner wasn't talking about why there is taxthe comment was about clarifying your code. Is the issue with str(money), or str(population)? What's the actual error you're getting? Have you looked at the values that populat