Python Program To Replace Number With String
“How to replace the number with the string” is a common question in python programming which is used in normal programming also. To implement this concept we have to use …
“How to replace the number with the string” is a common question in python programming which is used in normal programming also. To implement this concept we have to use …
Python Program To Split String Into Sub String From Special Characters “Split string into substring from special character” is useful in many ways when programmers try to manipulate the string. …
Python Program To Remove Common Elements From Two List “How To Remove Common Elements From Two List using python” is useful concept, because sometimes programmer want to select the unique …
Python Program To Remove Duplicates From List “How to remove duplicates from list” is a popular question and very frequently asked in interviews also. There are so different methods to …
Python Program To Test String Starts With A Capital Letter 01. Example Using isupper() function with For loop. Initialize String. Set a flag value False. Check with isupper() function for …
How To Print Aligned Dictionary Python” is a useful concept because sometimes we want a dictionary to represent data in tabular format. It gives a similar user interface which is …
Python Program To Solve Quadratic Equation In algebra, a quadratic equation is any equation that can be rearranged in standard form: where x represents an unknown, and a, b, and …
Python Program to Check Prime Number Using Counter And Function Example n= 10 i=2 counter = 0 if n > 0: def primeNumber(N): counter=0 for i in range(2,int(N/2)+1): if (N%i …
Python Program to Check Prime Number Using Flag Example n= 10 flag = False i=2 if n > 0: while i<n: if (n%i==0): flag=True i+=1 if flag: print(n,’ is not …
Python Program to Check Given Number is Odd Or Even Using Counter Example number = int(input('Enter the value: ')) counter = 0 if (number%2 == 0): counter = 1 if …