Python Vs Java - Coding Showdown!

Поділитися
Вставка
  • Опубліковано 20 жов 2024

КОМЕНТАРІ • 3

  • @franzweitkamp
    @franzweitkamp 5 років тому +1

    In Python you can do inline swapping: a,b = b,a

    • @we-gold
      @we-gold  5 років тому +1

      Just wanted to lay out the programs as easy to understand as possible. I could have done that, but it seems just slightly confusing to a new programmer. Good tip though!

  • @mrpersistent9086
    @mrpersistent9086 3 роки тому

    Why you didn't use .sort() or sorted() in python in the lists exercise you are cheating
    Python is the big winner in that round