Bobinas P4G
  • Login
  • Public

    • Public
    • Groups
    • Popular
    • People

Notices by Saci Pererê! (saci@bantu.social)

  1. Saci Pererê! (saci@bantu.social)'s status on Sunday, 19-Mar-2023 19:55:31 UTC Saci Pererê! Saci Pererê!
    in reply to
    • Victorhck

    @victorhck mejor

    c2 = list(reversed(c1))

    In conversation Sunday, 19-Mar-2023 19:55:31 UTC from bantu.social permalink
  2. Saci Pererê! (saci@bantu.social)'s status on Sunday, 19-Mar-2023 19:55:31 UTC Saci Pererê! Saci Pererê!
    • Victorhck

    @victorhck perdon, retorna un iterator, asi tiene que expandir la lista.

    c2 = reversed(c1)
    print(list(c2))

    In conversation Sunday, 19-Mar-2023 19:55:31 UTC from bantu.social permalink
  3. Saci Pererê! (saci@bantu.social)'s status on Sunday, 19-Mar-2023 19:50:02 UTC Saci Pererê! Saci Pererê!
    • Victorhck

    @victorhck

    "The reverse() method modifies the sequence in place for economy of space when reversing a large sequence. To remind users that it operates by side effect, it does not return the reversed sequence."

    https://docs.python.org/3.8/library/stdtypes.html#list

    In conversation Sunday, 19-Mar-2023 19:50:02 UTC from bantu.social permalink

    Attachments

    1. Built-in Types
      from ../about.html
      The following sections describe the standard types that are built into the interpreter. The principal built-in types are numerics, sequences, mappings, classes, instances and exceptions. Some colle...
  4. Saci Pererê! (saci@bantu.social)'s status on Sunday, 19-Mar-2023 19:47:34 UTC Saci Pererê! Saci Pererê!
    • Victorhck

    @victorhck reversed(c1)

    In conversation Sunday, 19-Mar-2023 19:47:34 UTC from bantu.social permalink
  5. Saci Pererê! (saci@bantu.social)'s status on Sunday, 19-Mar-2023 19:42:40 UTC Saci Pererê! Saci Pererê!
    • Victorhck

    @victorhck creo que reverse tiene efecto "inplace" asi retorna None, pero el objecto originao si esta modificado.

    In conversation Sunday, 19-Mar-2023 19:42:40 UTC from bantu.social permalink
  6. Saci Pererê! (saci@bantu.social)'s status on Monday, 15-Nov-2021 23:42:17 UTC Saci Pererê! Saci Pererê!

    A fibra óptica caiu, mas a fibra da Aconchego é mais!

    ahah

    https://radio.taina.net.br/public/aconchego

    #radio #comunitaria #aconchego
    #taina
    #musica #bantuRecomenda

    In conversation Monday, 15-Nov-2021 23:42:17 UTC from bantu.social permalink

User actions

    Saci Pererê!

    Saci Pererê!

    ساسي بيريريGambiologista e Comunicador Popular ;*

    Tags
    • (None)
    ActivityPub
    Remote Profile

    Following 0

      Followers 0

        Groups 0

          Statistics

          User ID
          25008
          Member since
          11 Sep 2021
          Notices
          6
          Daily average
          0

          Feeds

          • Atom
          • Help
          • About
          • FAQ
          • Privacy
          • Source
          • Version
          • Contact

          Bobinas P4G is a social network. It runs on GNU social, version 2.0.1-beta0, available under the GNU Affero General Public License.

          Creative Commons Attribution 3.0 All Bobinas P4G content and data are available under the Creative Commons Attribution 3.0 license.