Re: [Tutor] Python Help

2017-09-16 Thread Mats Wichmann
On 09/15/2017 10:25 AM, Alan Gauld via Tutor wrote: > On 15/09/17 04:08, Pratyusha Thundena wrote: >> How do check to see if string ‘garden’ contains a >> vowel(a, e , i , o, u , or y) using a for loop? > > Hi, this sounds like homework and we won't do > your homework for you, but we do give

Re: [Tutor] Python HW question

2017-09-16 Thread Ben Finney
writes: > I really need some Python help. I’m a beginner and have some hw for > class: Welcome, and congratulations on beginning to learn Python! > Write a program that calculates longest substring of increasing > letters in st, say st=‘Supercalifragilisticexpialidocious’.

Re: [Tutor] Python HW question

2017-09-16 Thread Alan Gauld via Tutor
On 16/09/17 01:32, mikn...@gmail.com wrote: > I really need some Python help. I’m a beginner and have some hw for class: OK, Usual caveat: we don;t do your homework, just give hints. > Write a program that calculates longest substring of increasing letters in > st, say

[Tutor] Python HW question

2017-09-16 Thread miknau1
Good evening, I really need some Python help. I’m a beginner and have some hw for class: Write a program that calculates longest substring of increasing letters in st, say st=‘Supercalifragilisticexpialidocious’. Do it in a few steps: 1.Find longest increasing substring starting from 0th

Re: [Tutor] array input from keyboard

2017-09-16 Thread Oliver Schmitz
Hi Derek, you are iterating over the input string, this will result in single chars in each iteration of your for loop. You could use `split` on your string to split the string into a list, splitted by comma. Instead of: >vols = [] >vols = input("Please enter your volume ids, comma

Re: [Tutor] Python + Irc

2017-09-16 Thread Oliver Schmitz
Hi Fernando, i guess the most popular and feature-rich IRC library for python is (guess how it is named ...) irc by jaraco. pypi: https://pypi.python.org/pypi/irc github: https://github.com/jaraco/irc If you want to build something more advanced (quite difficult for beginners) on your own, you