Skip to content

Commit ddb4017

Browse files
authored
Update 02-basics.md
1 parent 8cc17d8 commit ddb4017

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

_episodes/02-basics.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -599,6 +599,7 @@ print(type(list4))
599599
> {: .language-python}
600600
> > ## Solution
601601
> > ~~~
602+
> > # Solution 1: Basic ways of solving this exercise using the core Python language
602603
> > num_list = [4,5,6,11]
603604
> >
604605
> > last_num_in_list = num_list[-1]
@@ -608,7 +609,7 @@ print(type(list4))
608609
> > print(odd_from_list)
609610
> >
610611
> >
611-
> > # These are the basic ways of working using the core Python language. Usually there are multiple ways of doing the same work. Once we learn about more advanced Python, we would be able to write more varieties codes like the followings to print the odd numbers:
612+
> > # Solutions 2 and 3: Usually there are multiple ways of doing the same work. Once we learn about more advanced Python, we would be able to write more varieties codes like the followings to print the odd numbers:
612613
> > import numpy as np
613614
> > num_list = [4,5,6,11]
614615
> >

0 commit comments

Comments
 (0)