bitpit/CS112-Spring2012 — comment on commit 8be9ee58e0dccd91ff1451699213e2943a1bb1e8
File:  line 0
By alecgoebel:

# Homework 3

> Before I start grading the homework, I just want to point out that we will almost never be grading ahead (or at least I won't.) If you aren't sure you have every requirement, send and email to `cs112@hampshire.edu` asking about it specifically and we can check it out for you then. Otherwise we might just get to it after the deadline.

| **Part** | **Points** |
|-----------|------------|
| base | 1 |
| advanced | 0 |
| hurting a TAs feelings | 0.25 |
| **Total** | 1.25 |

Well done overall. Step one was flawless and I genuinely had a moment of feeling insulted after that initial barrage. Your code is clean overall. Just a couple of notes so I feel like I am actually doing my job:

First of all, add some blank lines in your code to break up sections. It makes it easier for me to read and to find problem areas in general.

```python
## There are a couple of things you can do differently with

# original code
n1 = raw_input("Number 1: ")
a1 = int(n1)

# you can reuse variables
n1 = raw_input("Number 1: ")
n1 = int(n1)

# you can write this as one line
n1 = int(raw_input("Number 1: "))
```

```python
# another example
total=i1+i2+i3
total1=str(sum)

# ...can be written...
total=i1+i2+i3
total=str(total)

# ...or
total = str(i1 + i2 + i3)
```

Since it looks like you handled this assignment easily, you should be able to understand string formatting. You can find more information [here].(http://docs.python.org/library/string.html#formatstrings)

```python
# how you typed it
print "Prissybot: Hello there, "+name+"."

# with formatting
print "Prissybot: Hello there, %s." % name
```

Anyways, for hurting my feelings, I give you the [asterisk](http://youtu.be/JTVpxxzb2Dc) award

![award image](http://scienceblogs.com/pharyngula/upload/2006/10/asterisk.gif)