trying to troubleshoot a program for my python class, and can't figure out how to get the output to display on one line, without the spaces. i've tried a few different ways, string.join() and string.joinfields(), but none of them have worked so far. please help!
text = raw_input("what phrase would you like to input")
import string
splitString = string.split(phrase)
x = len(splitString)
for i in range(x)
newText = splitString[i][0]
letters = string.upper(newText)
print letters
(pretend that the last 3 lines are indented)
October 11th, 2005, 11:06 PM
Prosutch
A question...only a question:
are you programming python for linux?(or unix, is the same :p )
(i think YES, but is a doubt only)
ByTeS
October 16th, 2005, 10:02 PM
[the]Punisher
it's for a class, and we're programming under the IDLE for windows, wouldn't the language be the same in windows and linux though?
just a thought.