BeefCakes/CS112-Spring2012 — comment on commit 065621b7f69baa515907fc6653d5fc51dd75a1f2
File:  line 0
By alecgoebel:

# Homework 3

| **Part** | **Points** |
|-----------|------------|
| base | 1 |
| advanced (ascii) | 0.25 |
| humor and design | 0.25 |
| **Total** | 1.5 |

I love it. The insults were unrelenting, the math problems are well integrated with the conversation, and all the output is cleanly formatted. Your code has no errors in it either. Only a couple of notes:

```python
# original code
greeting=raw_input(""+name+": ")

# the leading "" isn't necessary, name is already a string
greeting = raw_input(name + ":")
```

```python
# original code
print "PrissyBot: On a scale of 1 to 10, how annoying are you?"
scale=raw_input(""+name+": ")
scale=int(scale)
s=int(10-scale)
print "PrissyBot: Add",s,"to that, and you're spot on."

# cleaner/shorter
print "PrissyBot: On a scale of 1 to 10, how annoying are you?"
scale = int(raw_input(name + ": "))
print "PrissyBot: Add", (10-scale), "to that, and you're spot on."
```

Finally, since your printing seems clean, you might want to look at string formatting in python. You can find more information it [here](http://docs.python.org/library/string.html#formatstrings).

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)