Re: [Tutor] beginning encryption

2018-04-19 Thread Emil Natan
if char != alphabet: should be if char not in alphabet: Otherwise you are comparing char with alphabet. What you want to do if to check if char is in alphabet. Emil On Thu, Apr 19, 2018 at 2:39 AM, Roger Lea Scherer wrote: > I am absolutely stumped. I've tried a number of d

Re: [Tutor] Hi Dear!

2016-02-04 Thread Emil Natan
he_world_is_flat = True >>> if the_world_is_flat: ... print("Be careful not to fall off!") ... Be careful not to fall off! The interpreter also tries to help you, it puts ... at the begging of the line (instead of >>>) which means it expect some indentation.

[Tutor] new line to list of strings send by email

2016-01-08 Thread Emil Natan
msg['From'] = SENDER msg['To'] = recipient msg['Subject'] = subject_prefix + SUBJECT s = smtplib.SMTP(SMTP_SERVER) s.send_message(msg) s.quit() Emil ___ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: https://mail.python.org/mailman/listinfo/tutor

Re: [Tutor] Fibonacci series(perhaps slightly off topic)

2008-07-03 Thread Emil
] > Date: Thu, 3 Jul 2008 12:59:39 +1200 > From: [EMAIL PROTECTED] > To: [EMAIL PROTECTED] > Subject: Re: [Tutor] Fibonacci series(perhaps slightly off topic) > CC: tutor@python.org > > On 03/07/2008, Emil wrote: >> I have created a cl

[Tutor] Fibonacci series(perhaps slightly off topic)

2008-07-02 Thread Emil
- Emil Agerschou _ Connect to the next generation of MSN Messenger  http://imagine-msn.com/messenger/launch80/default.aspx?locale=en-us&source=wlmailtagline ___ Tutor maillist - T

Re: [Tutor] traverse a two dimensional array

2008-06-18 Thread Emil
I am not totally sure what you mean by traverse. But if you are talking about how you access the values stored at a key, you simply do it by calling the key and then it returns the value like this: >>> d = { 1 : 'a

[Tutor] Output of list

2007-12-22 Thread Emil
, 'ef, 'gh']. How do i do this? - Emil _ Express yourself instantly with MSN Messenger! Download today it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/ __