So i have a h/w assignment due tomorrow, and i have tried to work on it, but as usual, python frustrates me. Here is the assignment: http://www.cs.gonzaga.edu/depalma/courses/cpsc121/assignPython/asgn5.pdf

and for part two, here is the link for example26 it says to use: http://www.cs.gonzaga.edu/depalma/courses/cpsc121/examplesPython/example26.py

So i tried working out the first part and here is what i have so far:

```
def hasSpaces(myString):
myString.find(' ')
if myString.find(' ')==-1:
print('False')
else:
print('True')
return myString
def stripSpaces(myString):
myString.replace(' ',"")
return myString
```

and for the second part, i'm a bit confused b/c our teacher didn't really cover much into encrypting and decrypting so i don't know really where to start, although it doesnt look too hard.

any help would be very much appreciated, i have a big chem test tomorrow that i have to study for aswell. Thank you

*Edited 7 Years Ago by theclash57*: n/a