HELP!! How to ask a girl out with a simple witty Python code??
Albert-Jan Roskam
fomcl at yahoo.com
Mon Mar 9 15:58:53 EDT 2015
----- Original Message -----
> From: Jonas Wielicki <jonas at wielicki.name>
> To: python-list at python.org
> Cc:
> Sent: Monday, March 9, 2015 8:12 PM
> Subject: Re: HELP!! How to ask a girl out with a simple witty Python code??
>
> On 09.03.2015 14:39, Omar Abou Mrad wrote:
>> On Thu, Mar 5, 2015 at 3:34 AM, Xrrific <xiaokun3 at gmail.com> wrote:
>>
>>> Guys, please Help!!!
>>>
>>> I am trying to impress a girl who is learning python and want ask her
> out
>>> at the same time.
>>>
>>> Could you please come up with something witty incorporating a simple
>>> python line like If...then... but..etc.
>>>
>>> You will make me a very happy man!!!
>>>
>>> Thank you very much!!!
>>> --
>>> https://mail.python.org/mailman/listinfo/python-list
>>>
>>
>>>>> print "Svar lbh jva! V'yy cvpx lbh hc gbzbeebj ng 7
> :)".decode('rot13')
>
> That won’t work if she’s actually smart. I mean, that’s python2. ;-)
Yeah you need from __future__ and codecs to also make it work in Python 3. But then, Python 3 does, alas, not accept rot13 in the shebang
# -*- coding: rot13 -*-
sebz __shgher__ vzcbeg cevag_shapgvba
vzcbeg pbqrpf
cevag(pbqrpf.qrpbqr("Svar lbh jva! V'yy cvpx lbh hc gbzbeebj ng 7 :)", "rot13"))
More information about the Python-list
mailing list