Tag Python found of 19 results
Generally in programming loops are used to executed block of code repeatedly as long as condition is true. In this article, you will learn how to use a while loop and while loop with else statement in Python...
Sovary June 4, 2022 516How to create decisions in a Python program using different forms of if-else statement multiple condition and explain step by step with examples from scratch...
Sovary June 4, 2022 528We will learn different numeric in Python and we will explain how to convert from string to numeric . Python have three built-in numeric types integer, float-point number and complex numbers. Python..
Sovary June 2, 2022 451Today we will discuss how to know which year is leap or February is 29 days in Python. Basically a year have 365 days, each leap year have 366 days because additional day is added to February which is 29 days...
Sovary June 1, 2022 896This article will go to detail on Python how to format date in different format. I will explain and give planty examples using date format...
Sovary May 28, 2022 466We have a single sentence how can we check whether the string is end with specific word? in Python we can use endswith() method to check as string have particular suffix value. The endswith() is built..
Sovary May 28, 2022 509Today we will learn how to check if there is a string start with specific letter or word with different ways. Below examples would help guide you to approach the result...
Sovary May 28, 2022 1.05KIn Python to check whether if a string contain only alphabets we use isalpha() function on a string. isalpha() function is built-in string function which will returns as boolean value...
Sovary May 28, 2022 497This tutorial we will find out the way to remove duplicated words from given sentence in Python. We will check given string if there are duplicated word then we will remove from the string and return..
Sovary May 27, 2022 438