In [1]:

```
print "Enter number of preregistered students: ",
total = int(raw_input())
print "Enter number of students adding the course: ",
added = int(raw_input())
total = total + added
print "Total number of students: ", total
```

In [2]:

```
firstName = "Jeff"
lastName = "Kent"
print "Your name is ", firstName + lastName
```

In [3]:

```
print "Enter number of preregistered students: ",
total = int(raw_input())
print "Enter number of students adding the course: ",
added = int(raw_input())
total = total + added
print "How many students dropped? ",
dropped = int(raw_input())
total -= dropped
print "Total number of students: ", total
```

In [5]:

```
print "Enter number of preregistered students: ",
total = int(raw_input())
print "Enter number of students adding the course: ",
added = int(raw_input())
total = total + added
print "How many students dropped? ",
dropped = int(raw_input())
total -= dropped
print "Total number of students: ", total
print "Total tuition owed: $",((total + dropped) * 72)
```

In [6]:

```
firstOp = 10
secondOp = 4
result = firstOp / secondOp
print firstOp, " / ", secondOp, " = ", result
```

In [7]:

```
firstOp = 10.0
secondOp = 4.0
result = firstOp / secondOp
print firstOp, " / ", secondOp, " = ", result
```

In [8]:

```
firstOp = 10
secondOp = 4
result = float(firstOp) / float(secondOp) #converting both the variables to float
print firstOp, " / ", secondOp, " = ", result
```

In [9]:

```
print "Enter number of preregistered students: ",
total = int(raw_input())
print "Enter number of students adding the course: ",
added = int(raw_input())
total = total + added
print "How many students dropped? ",
dropped = int(raw_input())
total -= dropped
print "Total number of students: ", total
tuition = (total + dropped) * 72
print "Total tuition owed: $",tuition
print "Average tuition per enrolled student: $", (float(tuition)/float(total))
```

In [11]:

```
print "Enter radius of circle: ",
radius = float(raw_input())
area = 3.14159 * pow(radius, 2);
print "The area is ", area
```

In [12]:

```
print "Enter number of pennies to make change for: ",
total = int(raw_input())
dollars = total / 100
leftover = total % 100
quarters = leftover / 25
leftover %= 25
dimes = leftover / 10
leftover %= 10
nickels = leftover / 5
leftover %= 5
print "Dollars: ", dollars
print "Quarters: ", quarters
print "Dimes: ", dimes
print "Nickels: ", nickels
print "Pennies: ", leftover
```

In [ ]:

```
```