On Wed, 23 Sep 2015 00:56:19 +0100, MRAB wrote:
> On 2015-09-23 00:32, Mark Lawrence wrote:
>> On 22/09/2015 19:43, Python_Teacher via Python-list wrote:
>>> you have 10 minutes😂 Good luck!!
>>>
>>>
>>> 1. What is PEP8 ?
>>
>> It's the one between PEP7 and PEP9.
>>
>>
>>> 2. What are the different
You've got a lot of sensible answers, but let me add to this one:
Am 22.09.15 um 20:43 schrieb Python_Teacher:
input = {
'foo1': 'bar1',
'chose': 'truc',
'foo2': 'bar2',
}
output = {
'bar1': 'foo1',
'truc': 'chose',
'bar2': 'foo2'
}
This one can be done as a dict
On Tue, Sep 22, 2015 at 7:32 PM, Mark Lawrence
wrote:
>
>> 2 Lists
>>
>
> Tut, tut, tut.
That is not a list, that is a tutple.
--
https://mail.python.org/mailman/listinfo/python-list
On 2015-09-23 00:32, Mark Lawrence wrote:
On 22/09/2015 19:43, Python_Teacher via Python-list wrote:
you have 10 minutes😂 Good luck!!
1. What is PEP8 ?
It's the one between PEP7 and PEP9.
2. What are the different ways to distribute some python source code ?
Write on sheet of paper, fol
On Wed, Sep 23, 2015 at 9:32 AM, Mark Lawrence wrote:
>>
>> 1. What is the type of g ?
>> 2. What is the value of a ?
>> 3. What is the value of b ?
>> 4. What is the value of c ?
>
>
> How the hell would I know?
Basic schooling, Mark, basic schooling.
1. Newton meters squared per kilogram squar
Hi,
On Tue, Sep 22, 2015 at 7:32 PM, Mark Lawrence
wrote:
> On 22/09/2015 19:43, Python_Teacher via Python-list wrote:
>
>> you have 10 minutes😂 Good luck!!
>>
>>
>> 1. What is PEP8 ?
>>
>
> It's the one between PEP7 and PEP9.
>
>
>> 2. What are the different ways to distribute some python source
On 22/09/2015 19:43, Python_Teacher via Python-list wrote:
you have 10 minutes😂 Good luck!!
1. What is PEP8 ?
It's the one between PEP7 and PEP9.
2. What are the different ways to distribute some python source code ?
Write on sheet of paper, fold into paper dart, throw from window.
2
On Tuesday, September 22, 2015 at 11:19:00 PM UTC+2, sohca...@gmail.com wrote:
> On Tuesday, September 22, 2015 at 11:45:00 AM UTC-7, Lj Fc wrote:
> > you have 10 minutes😂 Good luck!!
> >
> >
> > 1. What is PEP8 ?
> >
> > 2. What are the different ways to distribute some python source code ?
> >
wrote in message
news:5218c7f9-74ea-4ca0-abd1-46a9bcd3d...@googlegroups.com...
...
Pretty sure this guy is asking us to do his homework. :-P
Maybe (and I hope not) but asking what PEP8 is could be easily found on
the internet and asking what the values would be at the end of the
program
On Tue, Sep 22, 2015 at 3:18 PM, wrote:
> On Tuesday, September 22, 2015 at 11:45:00 AM UTC-7, Lj Fc wrote:
>> you have 10 minutes😂 Good luck!!
>
> Pretty sure this guy is asking us to do his homework. :-P
Well, looks like it was due 2 hours ago.
--
https://mail.python.org/mailman/listinfo/pyt
On Tuesday, September 22, 2015 at 11:45:00 AM UTC-7, Lj Fc wrote:
> you have 10 minutes😂 Good luck!!
>
>
> 1. What is PEP8 ?
>
> 2. What are the different ways to distribute some python source code ?
>
> 2 Lists
>
> Let's define the function plural :
>
> def plural(words):
> plurals = []
On Tuesday, September 22, 2015 at 7:45:00 PM UTC+1, Lj Fc wrote:
> you have 10 minutes😂 Good luck!!
A good set of questions, IMO. Am answering as someone coming back to Python
after a few years.
> 1. What is PEP8 ?
Coding guidelines, I think.
> 2. What are the different ways to distribute some
Python_Teacher via Python-list writes:
...
> Let's define the function plural :
>
> def plural(words):
> plurals = []
> for word in words:
>plurals.append(word + 's')
> return plurals
>
> for word in plural(['cabagge','owl','toy']):
> print word
plural() should accept a s
Hmm, why not. :D
On 22.09.2015 20:43, Python_Teacher via Python-list wrote:
you have 10 minutes😂 Good luck!!
1. What is PEP8 ?
A PEP.
2. What are the different ways to distribute some python source code ?
unison, rsync, scp, ftp, sftp, samba, http, https, mail, git,
2 Lists
Let's
On Tue, Sep 22, 2015 at 12:43 PM, Python_Teacher via Python-list
wrote:
> you have 10 minutes😂 Good luck!!
Sorry, I'm more interested in critiquing the questions than answering them.
> Let's define the function plural :
>
> def plural(words):
> plurals = []
> for word in words:
>
you have 10 minutes😂 Good luck!!
1. What is PEP8 ?
2. What are the different ways to distribute some python source code ?
2 Lists
Let's define the function plural :
def plural(words):
plurals = []
for word in words:
plurals.append(word + 's')
return plurals
for word in plu
16 matches
Mail list logo