Symbols

Symbol Name Detail information

:

colon

in if/else branches,in index of string,in while loops

{}

curly brackets

creating hashes

=

equal sign

assignment operator

==

equal sign,double

equal to operator

!=

exclamation point,equal sign

not equal to operator

()

parentheses

in format strings,in function definition

%

percentage symbol

preceding format strings

.

period

in library function request

+

plus sign

addition operator

#

pound sign

preceding comments

>

right angle bracket

greater than operator

[]

square brackets creating arrays,enclosing index of array,
enclosing index of strings,
enclosing key for dict
posted @ 2016-07-26 11:31  zj_ivan  阅读(116)  评论(0)    收藏  举报