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

Missing Solution in Chapter 02 #125

Open
telenieko opened this issue Jul 4, 2023 · 0 comments
Open

Missing Solution in Chapter 02 #125

telenieko opened this issue Jul 4, 2023 · 0 comments

Comments

@telenieko
Copy link

telenieko commented Jul 4, 2023

Hi. Just found the book and taking a quick look. Looks funny! Noticed that:

Chapter 02 has three exercises:

<section>
<h3>Exercises</h3>
<ul>
<li>If we store the number of seconds in a day using this code: <code>seconds = 86400</code>, calculate using that
variable how many hours there are in 30 days.</li>
<li>Create a variable called <code>name</code>, store a string in it and place the value of that variable in another
string.</li>
<li>The line <code>5 / "four"</code> shows an error. Think about why this error might happen.</li>
</ul>
</section>

But the solutions have only two. The second exercise is missing.

Maybe:

name = "Snoopy"
greeting = "Hello, #{name}"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant