Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #98859
| X-Received | by 10.129.70.3 with SMTP id t3mr5398033ywa.46.1447619920971; Sun, 15 Nov 2015 12:38:40 -0800 (PST) |
|---|---|
| X-Received | by 10.50.61.166 with SMTP id q6mr232877igr.2.1447619920904; Sun, 15 Nov 2015 12:38:40 -0800 (PST) |
| Path | csiph.com!au2pb.net!usenet.blueworldhosting.com!feeder01.blueworldhosting.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!i2no3675202igv.0!news-out.google.com!f6ni3552igq.0!nntp.google.com!i2no3215163igv.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail |
| Newsgroups | comp.lang.python |
| Date | Sun, 15 Nov 2015 12:38:40 -0800 (PST) |
| Complaints-To | groups-abuse@google.com |
| Injection-Info | glegroupsg2000goo.googlegroups.com; posting-host=2601:681:4501:a1c8:c086:bab8:ae56:40be; posting-account=gzQZ_QoAAABM8tl9xR_wXj7uJyVr_eb3 |
| NNTP-Posting-Host | 2601:681:4501:a1c8:c086:bab8:ae56:40be |
| User-Agent | G2/1.0 |
| MIME-Version | 1.0 |
| Message-ID | <ea4e1c5e-08e8-4a75-95ce-9e4eeca92021@googlegroups.com> (permalink) |
| Subject | Why won't this run? |
| From | jbak36 <j.bak36@gmail.com> |
| Injection-Date | Sun, 15 Nov 2015 20:38:40 +0000 |
| Content-Type | text/plain; charset=ISO-8859-1 |
| Lines | 17 |
| Xref | csiph.com comp.lang.python:98859 |
Show key headers only | View raw
Python 3.5.0 (v3.5.0:374f501f4567, Sep 13 2015, 02:27:37) [MSC v.1900 64 bit (AMD64)] on win32
Type "copyright", "credits" or "license()" for more information.
>>> #this program says hello and asks for my name
>>> print:('Hello world!')
Hello world!
>>> print:('What is your name?') #ask for their name
What is your name?
>>> myName = input()
print:('It is good to meet you,'+myName)
>>> print:('The length of your name is:')
The length of your name is:
>>> print:(len(myName))
39
>>> print:('What is your age?')#ask for their age
What is your age?
>>> myAge=input()
print:('You will be ' + str(int(myAge)+1)'in a year.')
>>>
Back to comp.lang.python | Previous | Next — Next in thread | Find similar | Unroll thread
Why won't this run? jbak36 <j.bak36@gmail.com> - 2015-11-15 12:38 -0800 Re: Why won't this run? Tim Chase <python.list@tim.thechases.com> - 2015-11-15 14:55 -0600 Re: Why won't this run? Gary Herron <gherron@digipen.edu> - 2015-11-15 12:50 -0800 Re: Why won't this run? Mike S <mscir@yahoo.com> - 2015-11-19 19:26 -0800
csiph-web