Archive for Year: 2020

Python Tutorial 4-If Then Else in Python

Conditional statement is most sought after situation in programming. There are many rules and operators get used while using IF THEN ELSE in python. These statement get used when programmer some output based on certain condition or want to perform any function or activity upon any conditional event. Before...

Read More

Python Tutorial 3-Index Function in Python

Index Function in Python Index function helps to find the position of specific string in a sentence. In many cases in data, instead of getting complete text value, user want to find and extract specific text from a sentence. In below examples, user want to find the City and...

Read More

Python Tutorial 2-String Formatting in Python

You want to print “Hello Mr X ” wherein you have created variable name as “Mr X”. name= "Mr X" print("Hello, %s!" % name) Another example, print ” Mr X is 25 years old” where you have to create extra variable name as Age name= "Mr X" age=25 print("%s...

Read More
Code Calibre