Reverse Complement using Basic Python

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

КОМЕНТАРІ • 8

  • @limon4617
    @limon4617 5 днів тому

    Thanks!

  • @Neaks5295
    @Neaks5295 2 роки тому +3

    Sir, you just helped me complete the problem I’ve been stuck on all day. Thank you, so much.

  • @maronnax
    @maronnax 3 роки тому +1

    Check out f-strings in Python 3. It'll simplify the string formatting code you talk about here and make it easier to read/write. eg. ` print(f"You have entered: '{DNA}')`. Many more features available (all the string formatting features you'd want, arbitrary python expressions, etc) so it's definitely worth checking out the docs, but that's the basic usage. Very handy and definitely a killer-app for Python 3.6+.

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

      Yes, f-strings are cool. I should probably make a video on that at some point, and I like the way this harkens back to printf from C.