[Tutor] Printing Complimentary strand of the DNA sequence:

Cameron Simpson cs at cskk.id.au
Sun Oct 6 21:39:10 EDT 2019


On 06Oct2019 18:59, Mihir Kharate <kharatemihir at gmail.com> wrote:
>Also, I think that by default, when I assign a variable to input
>something, the input is stored as a string unless maybe when it is a
>number.

If you mean:

    x = input("prompt...")

then it is always a string. You must convert it if it has another 
meaning.

Cheers,
Cameron Simpson <cs at cskk.id.au>


More information about the Tutor mailing list