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)
\"People should not be afraid of their governments. Governments should be afraid of their people.\" - V
A question...only a question:
are you programming python for linux?(or unix, is the same )
(i think YES, but is a doubt only)
ByTeS
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.
Forum Rules