Python Strings :
The raw_input and "Hello, " + name + "!"
Let’s go for the "Hello" part first and leave raw_input for later.
The first program in this chapter was simply print "Hello, world!"
But what is "Hello, world!"? It’s called a string (as in “a string of characters”).
Strings are found in almost every useful, real-world Python program and have many uses.
Their main use is to represent bits of text, such as the exclamation “Hello, world!”
No comments:
Post a Comment