Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

01-intro.md: New fundamentals exercise #766

Open
wants to merge 2 commits into
base: gh-pages
from

Conversation

@zchilton1
Copy link

zchilton1 commented Dec 1, 2019

As part of my checkout, I created a short exercise that could be added to the Python Fundamentals episode.
-Zack Chilton

@ldko ldko changed the title New fundamentals exercise 01-intro.md: New fundamentals exercise Dec 13, 2019
Copy link
Contributor

ldko left a comment

Hi Zack, thanks for your submission! We like the idea of introducing type() in 01_intro.md before it gets brought up in 02-numpy.md. Rather than introduce it in your exercise though, we are planning to open a separate PR to introduce it under the Types of data section. We would then like to include your exercise to reinforce the concept, but would like to request a couple changes to go along with the plan of introducing type() earlier in the episode.

@@ -220,4 +220,29 @@ weight in kilograms is now: 65.0
> {: .solution}
{: .challenge}
> ## Seeing Data Types
>
> Python can show a variable's data type using type(variable).

This comment has been minimized.

Copy link
@ldko

ldko Dec 13, 2019

Contributor

Since we will move introduction of type() to the main part of the episode, would you please remove the line above.

>
> ~~~
> planet = 'Earth'
> type(planet)

This comment has been minimized.

Copy link
@ldko

ldko Dec 13, 2019

Contributor

Would you please move the type(planet) call here in line 230 and the other type() calls given in 232 and 234 to the Solution section, to encourage the learners to recall type() on their own.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.