Python Comments

Comments are text written in a program but not run by the computer.

In python, comments are anything that is used after #


#This is a comment

					#The code below will output the text within the quotation signs.
print("Today is a wonderful day")


What are comments used for?

  • Comments can provide information about a code
					#This variable will be used to count the number of times anyone tweets the word funnymemes.
count_funnymemes = 0

  • Help others understand the code
					#This variable will be used to calculate the probablity of 6 on a dice

  • Ignore a line of code completely
					#value = old_code()
value = new_code()


Contracts in Commercial Law

A contract is an agreement enforceable between parties. In the commercial environment, a contract provides security to the parties involved. The contract starts with an

Read More »

The Most Popular and In-Demand Coding Languages in 2022

Learning to code Languages can take a lot of time and effort. Especially if you are a beginner, this process can be a bit energy-consuming. That is why we have analyzed and laid out the best programming languages that you can learn without wasting your time. These are the best and most in-demand programming languages on the market.

Read More »
0 0 votes
Article Rating
Notify of
Inline Feedbacks
View all comments