Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #78450
| Newsgroups | comp.lang.python |
|---|---|
| Date | 2014-09-29 01:27 -0700 |
| References | <vocc2a17rl5odoasq7ae317aju8de9ejcn@4ax.com> <72778568-0205-47c5-8b60-163b09823170@googlegroups.com> |
| Message-ID | <d7e02a2b-d0df-4c4c-8ea5-b276d65452e4@googlegroups.com> (permalink) |
| Subject | Re: Leap year |
| From | wxjmfauth@gmail.com |
------ >>> def z(y): ... if y <= 1582: # or < ... return 'not a leap year, Julian calendar' ... else: ... return 'process, Gregorian calendar' ... >>> z(1300) 'not a leap year, Julian calendar' >>> z(2014) 'process, Gregorian calendar' >>>
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Leap year Seymore4Head <Seymore4Head@Hotmail.invalid> - 2014-09-26 23:49 -0400
Re: Leap year Gene Heskett <gheskett@wdtv.com> - 2014-09-27 00:08 -0400
Re:Leap year Dave Angel <davea@davea.name> - 2014-09-27 05:07 -0400
Re: Leap year Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2014-09-28 16:22 +1000
Re: Leap year Rustom Mody <rustompmody@gmail.com> - 2014-09-28 23:58 -0700
Re: Leap year wxjmfauth@gmail.com - 2014-09-29 01:27 -0700
Re: Leap year wxjmfauth@gmail.com - 2014-09-29 08:05 -0700
csiph-web