On Mon, Feb 5, 2018 at 10:13 AM, wrote:
>
> Hi, I have a problem in continuing the function.
>
> I'm a beginner, I'm learning from a textbook. I'm going to put the
> following examples from a textbook that displays "wrong syntax"
>
>
>> for letter in "ABCDEFGHIJKLMNOPQRSTUVWXYZ":
>>>
On Tue, Feb 6, 2018 at 4:28 AM, Phil Boutros wrote:
> wrote:
>>
>> Hi, I have a problem in continuing the function.
>>
>> I'm a beginner, I'm learning from a textbook. I'm going to put the
>> following examples from a textbook that displays "wrong syntax"
>>
> for letter in "ABCDEFGHIJKLMNOP
Phil Boutros wrote:
>
> Which version of python are you using? That syntax for "print"
> started in python 3 (since print became a function).
>
> Try adding:
>
> from __future__ import print_function
>
> before your code if you're still using python 2.x
Altough, testing it in Python2,
Am 05.02.18 um 18:13 schrieb darkorbitaknaen...@centrum.cz:
Hi, I have a problem in continuing the function.
I'm a beginner, I'm learning from a textbook. I'm going to put the
following examples from a textbook that displays "wrong syntax"
for letter in "ABCDEFGHIJKLMNOPQRSTUVWXYZ":
wrote:
>
> Hi, I have a problem in continuing the function.
>
> I'm a beginner, I'm learning from a textbook. I'm going to put the
> following examples from a textbook that displays "wrong syntax"
>
for letter in "ABCDEFGHIJKLMNOPQRSTUVWXYZ":
> if letter in "AEIOU":
>
On Mon, Feb 5, 2018 at 10:13 AM, wrote:
>
> Hi, I have a problem in continuing the function.
>
> I'm a beginner, I'm learning from a textbook. I'm going to put the following
> examples from a textbook that displays "wrong syntax"
It would be very helpful if you would copy/paste the exact error
m
Hi, I have a problem in continuing the function.
I'm a beginner, I'm learning from a textbook. I'm going to put the following examples
from a textbook that displays "wrong syntax"
for letter in "ABCDEFGHIJKLMNOPQRSTUVWXYZ":
if letter in "AEIOU":
print(letter, "