How to counts the number of decimal digits in a positive integer in Python

The following snippet counts the number of decimal digits in a positive integer: n = 40265 count = 0 while n != 0: count = count + 1 n = n // 10 print(count) This snippet demonstrates an important pattern of computation called a counter. The variable count is initialized to 0 and then incremented each time the loop body…

Continue Reading →

Love May Not Be Enough, But It Always Makes The Difference.

Love always makes a difference. It interfaces with other basic needs such as security, self-worth, and significance. My sense of self-worth is fed by the fact that my man loves me. I mean after all, if he loves me, I must be worth loving. My parents may have given mixed feelings or negative messages about my worth, but my man…

Continue Reading →

Open Letter To My Crush….(Guest Post)

Love is a beautiful thing that we should treasure and appreciate. I have learned never to take the ones I love for granted. When you find the person that makes your heart beat fast, never miss the chance to tell them how special they are. If you don’t, you may regret it for the rest of your life. This one…

Continue Reading →

Love or Lust | Featured Post

Love is support not sacrifice, Love is communication not compromise Love is trust not tolerance Love is about energy not ego — jay shetty Lust feels so much like love in fact there is more lust than love out here! Lust is a huge act, it devours and just swallows you all up, its one big show! I remember, dating…

Continue Reading →

WHEN SORRY IS NOT AN APOLOGY | Featured Post

When you hear someone say “I’m sorry” do you automatically think that they are apologizing for having done something wrong? Does the meaning of what they said to depend on the context of the situation? When I’ve done something wrong I do say I’m sorry, but I also say that when I haven’t done anything wrong at all. Take for…

Continue Reading →

Dreamcatcher !!

  Behold !! Thy Dreams !! I will give you wings. For I can catch you now. Fly up high, In the sky. Fly fly free. Care for none. Through you shall I, Seek more life in me !! { When dream catchers are supposed to prevent us from bad dreams, I would use it to trap the good dreams…

Continue Reading →

Morning Reflections…

Many of us have failed to understand the tremendous power of presence. We take for a granted precious moment and celebrate nontrivial issues. Being there when you are needed by loved ones is the most powerful gift you could ever give them. Physical presence is very important. Material things can never replace it no matter how hard we try to…

Continue Reading →