# Variable messge As a variable , Each variable stores a value
# Variable name Numbers 、 Letter 、 Underline , Array cannot start , Cannot contain spaces , Keywords and method names cannot be used .
# See the name and know the meaning , Hump named
# Case sensitive
message ="Hello Python World"
print(message)
2. character string
# A string is a series of characters , It can be double quotation marks or single quotation marks
print("Hello world")
print('Hello world')
name = "zhangXuHui"
print(name.title()) # title case , The rest are lowercase
print(name.upper()) # All capitals
print(name.lower()) # All lowercase
print("wellcome to beijing "+name) # + String mosaics
print("good\tbest\nveryGood") # \t tabs \n A newline
countyr =" XIAN "
print(countyr.strip()) # Remove the spaces before and after the string , The middle space cannot be removed
info = "Albert Einstein once said, “A person who never made a mistake never tried anything new.”"
print(info)
print(r"d:\three\two\one") #r Original string , Escaped characters will not be escaped after use
# The end of the backslash indicates that the string does not end
# Three pairs of single or double quotation marks indicate a long string , Line breaks without escape characters / Space
# + String splicing
# * String copy