Skip to content

Commit 8a3944b

Browse files
authored
07-cond.md: double-quotes to single-quotes (#856)
to improve consistency in style.
1 parent c02ec52 commit 8a3944b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

_episodes/07-cond.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -405,7 +405,7 @@ freeing us from having to manually examine every plot for features we've seen be
405405
> passed as an argument, that is:
406406
>
407407
> ~~~
408-
> "String".startswith("Str")
408+
> 'String'.startswith('Str')
409409
> ~~~
410410
> {: .language-python}
411411
> ~~~
@@ -414,7 +414,7 @@ freeing us from having to manually examine every plot for features we've seen be
414414
> {: .output}
415415
> But
416416
> ~~~
417-
> "String".startswith("str")
417+
> 'String'.startswith('str')
418418
> ~~~
419419
> {: .language-python}
420420
> ~~~
@@ -484,7 +484,7 @@ freeing us from having to manually examine every plot for features we've seen be
484484
> > if char in vowels:
485485
> > count += 1
486486
> >
487-
> > print("The number of vowels in this string is " + str(count))
487+
> > print('The number of vowels in this string is ' + str(count))
488488
> > ~~~
489489
> > {: .language-python}
490490
> {: .solution}

0 commit comments

Comments
 (0)