Raspberry Pi: Guide For Simple Python & Projects Programming (Raspberry Pi Books, raspberry pi projects, raspberry pi for dummies) by William Gore

Raspberry Pi: Guide For Simple Python & Projects Programming (Raspberry Pi Books, raspberry pi projects, raspberry pi for dummies) by William Gore

Author:William Gore [Gore, William]
Language: eng
Format: epub, azw3, mobi, pdf
Published: 2016-01-25T23:00:00+00:00


Comments are in every programming language. There lines do not get executed when the program is compiled. They exist so programmers can explain what is going on inside the code to another developer. This way it is easy for another programmer to pick up where the original author of the code left off. This is ideal for collaborative projects among several different programmers, or if you run into trouble and need to get help.

Commenting in Python is simple. All it takes is a hash mark (#) at the front of your comment in the program. So let’s grab our example from above and add a comment:

print (1 + 1, "can be as sad as 1. It's the loneliest number since the number 1") #3dognite



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.