Tag Python found of 20 results
We have understand how while loop is work, the same as while loop. This article you will understand between when using while loop and for loop in Python. I will explain step by step with simple concept for beginner...
Sovary June 4, 2022 1.12KGenerally 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 1.25KHow 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 1.35KWe 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 1.08KToday 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 1.65KThis 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 1.13KWe 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 1.64KToday 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 2.51KIn 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 1.29KThis 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 1.1K