On Mon, May 8, 2017 at 3:50 AM, Lutz Horn wrote:
> A strange way to publish code.
Not if your goal is to drive traffic toward your YouTube channel.
--
https://mail.python.org/mailman/listinfo/python-list
Am 10.05.2017 um 14:18 schrieb Chris Angelico:
> On Wed, May 10, 2017 at 10:11 PM, Andre Müller wrote:
>> 1.) a short example for Python 3, but not exactly what they want.
>>
>> def square(numbers):
>> yield from sorted(n**2 for n in numbers)
>>
>> numberlist = [99, 4, 3, 5, 6, 7, 0]
>> resu
On Wed, May 10, 2017 at 10:11 PM, Andre Müller wrote:
> 1.) a short example for Python 3, but not exactly what they want.
>
> def square(numbers):
> yield from sorted(n**2 for n in numbers)
>
> numberlist = [99, 4, 3, 5, 6, 7, 0]
> result = list(square(numberlist))
If you're going to use sort
Hello,
1.) a short example for Python 3, but not exactly what they want.
def square(numbers):
yield from sorted(n**2 for n in numbers)
numberlist = [99, 4, 3, 5, 6, 7, 0]
result = list(square(numberlist))
To solve this tutorial, you need a different way.
I'm just showing how sexy Python 3 i
Python - Exercise 5
Do you want us to solve these problems for you?
The answers here:
https://www.youtube.com/watch?v=nwHPM9WNyw8&t=36s
A strange way to publish code.
Lutz
--
https://mail.python.org/mailman/listinfo/python-list