Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions _posts/batlopez/2016-01-19-batlopez-assgnmt2-post.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
---
layout: post
author: batlopez
title: "Nat's 2nd Assignment!"
---
Welcome!
<iframe src="https://trinket.io/embed/python/fb54480edd" width="100%" height="600" frameborder="0" marginwidth="0" marginheight="0" allowfullscreen></iframe>

Temperature
<iframe src="https://trinket.io/embed/python/7ff05fe40b" width="100%" height="600" frameborder="0" marginwidth="0" marginheight="0" allowfullscreen></iframe>

Hourly Rate
<iframe src="https://trinket.io/embed/python/92f0dfbbba" width="100%" height="600" frameborder="0" marginwidth="0" marginheight="0" allowfullscreen></iframe>

It took a while to figure out how to print welcome, how to multiply rate and hour because I wasn't sure how to combine the int functions in one expression. I was able to figure out the last exercise but I do think the prompt function is still a little fuzzy for me (i.e. why did I need to define temp separately? why couldn't I just use print prompt?) The other thing was I didn't know how to separate the exercises from each other.