Python also supports multi-line string, delimited by either triple-single ( '''.''') or triple-double quotes ( """."""). String: Python's string can be delimited by either single quotes ( '.') or double quotes ( ".").(C/C++/C#/Java end-of-line comment begins with '\\'. Python does not support multi-line comments. Comment: Python's comment begins with a '#' and lasts until the end-of-line. ![]() This section is for experienced programmers to look at Python's syntaxes and those who need to refresh their memory. I personally recommend that you learn a traditional general-purpose programming language (such as C/C++/Java) before learning scripting language like Python/JavaScript/Perl/PHP because they are less structure than the traditional languages with many fancy features. This article is NOT meant to be an introduction to programming. ![]() ![]() I shall assume that you are familiar with some programming languages such as C/C++/Java.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |