You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: _episodes/02-basics.md
+2-1Lines changed: 2 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -599,6 +599,7 @@ print(type(list4))
599
599
> {: .language-python}
600
600
> > ## Solution
601
601
> > ~~~
602
+
> > # Solution 1: Basic ways of solving this exercise using the core Python language
602
603
> > num_list = [4,5,6,11]
603
604
> >
604
605
> > last_num_in_list = num_list[-1]
@@ -608,7 +609,7 @@ print(type(list4))
608
609
> > print(odd_from_list)
609
610
> >
610
611
> >
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:
0 commit comments