Skip to content

Commit 8235a77

Browse files
scottcpetersonvinisalazar
authored andcommitted
The output of this cell is in the wrong place
The output of this cell seems to be in the wrong place.
1 parent a084459 commit 8235a77

File tree

1 file changed

+10
-11
lines changed

1 file changed

+10
-11
lines changed

_episodes/02-basics.md

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -375,6 +375,16 @@ print(myString) # you would have to assign it to a new variab
375375
~~~
376376
{: .language-python}
377377

378+
~~~
379+
True
380+
0
381+
THE QUICK BROWN FOX
382+
The quick brown fox
383+
False
384+
True
385+
~~~
386+
{: .output}
387+
378388
The methods starting with 'is...' return a boolean value of either True or False
379389

380390
~~~
@@ -398,17 +408,6 @@ print(mystring_clean.isalpha())
398408
~~~
399409
{: .language-python}
400410

401-
402-
~~~
403-
True
404-
0
405-
THE QUICK BROWN FOX
406-
The quick brown fox
407-
False
408-
True
409-
~~~
410-
{: .output}
411-
412411
If you need to refer to a specific element (character) in a string,
413412
you can do so by specifying the index of the character in `[]`
414413
you can also use indexing to select a substring of the string. In Python,

0 commit comments

Comments
 (0)