Skip to content

Commit 83aa2dd

Browse files
committed
fix link
1 parent 84a56a4 commit 83aa2dd

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

_episodes/01-intro.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ For example, let's say we want to use a `for` loop to count the number of `G`s i
2929
seq = "...ACGT..."
3030
count = 0
3131
for base in seq
32-
if base is 'G'
32+
if base is a 'G'
3333
increment count
3434
print count
3535
```
@@ -40,7 +40,7 @@ The simple syntax of Python requires very few changes to make it work.
4040
seq = 'GACTTAATGGGCAATAGGCAAGCACTTGAAAAAGATGCCAACGACATGAAAACACAAGACAA'
4141
count = 0
4242
for base in seq:
43-
if base is 'G':
43+
if base == 'G':
4444
count += 1
4545
4646
print(count)
@@ -239,7 +239,7 @@ When you hit enter after a colon `:`, the prompt changes to `...`, indicating th
239239
240240
### Executing Scripts
241241
242-
One of the more practical uses of Python in the command line is to execute scripts. Several of the examples above are contained within the script called [`01-intro.py`](https://github.com/EEOB-BioData/BCB546X-Fall2018/blob/master/course-files/python/scripts/01-intro.py) (in the `course-files/python/scripts` directory of the course GitHub repository). You can run this whole script from the command line in your terminal:
242+
One of the more practical uses of Python in the command line is to execute scripts. Several of the examples above are contained within the script called [`01-intro.py`](https://github.com/EEOB-BioData/BCB546-Spring2021/blob/main/course-files/python/scripts/01-intro.py) (in the `course-files/python/scripts` directory of the course GitHub repository). You can run this whole script from the command line in your terminal:
243243
244244
```
245245
$ python 01-intro.py

0 commit comments

Comments
 (0)