Infinite Iterators in Python are Awesome

学習

In today’s video we’re going to be learning about the infinite iterators provided by itertools, and why they are awesome!

▶ Become job-ready with Python:
https://www.indently.io

▶ Follow me on Instagram:
https://www.instagram.com/indentlyreels

00:00 Learning Python made simple
00:05 Intro
00:29 count()
02:40 cycle()
03:36 repeat()
05:23 optimisation
07:53 Outro

コメント

  1. @edsanville より:

    You can write most of these things in one line anyway, using yueld.

  2. @alexey_sychev より:

    Indefinite? Integers do not overflow in Python, sure 🙂

  3. @riufq より:

    Wdym with this optimization doesnt make sense in near future?

    Does the package will be laggy?

タイトルとURLをコピーしました