### NOTE: the original log accidently got lost. ### I tried to recover most what we did from my (totally unreliable) memory ### You are also welcome to look at previous year's log1.txt Python 3.4.3 (v3.4.3:9b73f1c3e601, Feb 24 2015, 22:44:40) [MSC v.1600 64 bit (AMD64)] on win32 Type "copyright", "credits" or "license()" for more information. >>> ================================ RESTART ================================ >>> 3+4 7 >>> 2**3 8 >>> "5" == 5 True >>> "Amir".count("A") 1 >>> countA("ATTGC") 1 >>> countA("ATTGATTC") 2 >>> countA("ATTGATATC") 3 >>> countA("attgcgg") 0 >>> countA(56) Traceback (most recent call last): File "", line 1, in countA(56) File "E:\Dropbox\Amir\Ph.D\Comp.Think.4.Bio\1Python basics\basics1\basics.py", line 5, in countA for base in dna: TypeError: 'int' object is not iterable >>> name = input("Please enter your name: ") Please enter your name: Amir >>> type(name) >>> print(name) Amir >>> age = input("Please enter your age: ") Please enter your age: 80 >>> age '80' >>> type(age) >>> age2 = int(age) >>> age2 80 >>> type(age2) >>> >>> check_dna("ATTATGCF") False >>> check_dna("ATTATGCF", "ATGCF") True