Posts

Showing posts from January, 2021

5 harmless ways to kick spam out of your blog

  Have you ever had an e-mail? Well… if it is the case, probably you know spam by experience and you are aware of how annoying could it be. Unfortunately, spam is present in the blogs world too, and doesn’t matter the kind or size of your blog sooner or later you will get some spam trying to bother you; dealing with spam in comments, trackbacks or pingbacks could become a real headache and for those ones that don’t have any experience fighting against because when it’s not treated correctly spam can suck out all the SEO of your block and ruin your blog quality regarding your users perspective or in front of search engines. Because the relevancy that spam has taken into the blog’s world plenty of solutions have been developed, but the problem with most of them is that they are intrusive and could annoy or discourage your legitimate users to submit comments by implementing some sort of real-humans system recognition, like captchas. But no everything is lost! we have made the quest for th

Numbers in Python

  Numbers in Python In Python, there are two types of data that allow us to work with numbers.  These data types are  integers  and  floating-point .  The difference between the two lies in the fact that floating-point numbers support decimals, while integers do not.  Thus, we can say that the number 10 is of the integer type, but that 10.0 is floating-point since it has a decimal (even if this is 0). Operations With numbers, we can perform operations as if Python were a simple calculator.  To begin we have the four basic operations that are: addition (+), subtraction (-), multiplication (*), and division (/). # Basic operations with numbers in Python >>> 1 + 2 3 >>> 3.0 - 2 1.0 >>> 2 * 3 6 >>> 6 / 2 3.0 We can see that the result of an addition, subtraction, or multiplication of two whole numbers is another whole number.  But if one of the numbers is floating-point the result is also floating-point. In the case of division, the data type of the