how to make bootstrap 4 modal

how to make bootstrap 4 modal
Modal is a child window that is layered over its parent window. It displays the content from a separate source that can have some interaction without leaving the parent window. Basic Modal Create a modal by using the .modal class and attribute data-toggle…

what is python used for ?

what is python used for
Python lets you develop a web application without much trouble. It has libraries for internet protocols like HTML and XML, JSON, e-mail processing, IMAP, FTP and easy-to-use socket interface. The package index have more libraries: Requests – An HTTP client library…

python break out of function

python break out of function
What is the use of break and continue in Python? In Python, break and continue statements can alter the flow of a normal loop. Loops iterate over a block of code until the test expression is false, but sometimes we…

Convert Strings into Integers in Python

Convert Strings into Integers in Python
Just like the str() built-in, Python also offers a handy built-in which takes a String object as an argument and returns the corresponding integer object. Example # Here age is a string object age = "21" print(age) # Converting string to…

python not equal operator

Python, not equal operator returns True if two variables are of the same type and have different values, if the values are same then it returns False. Python is dynamic and strongly typed language, so if the two variables have the same…

python round function

The round() function returns the rounded floating point value number, rounded to ndigits digits after the decimal point. If ndigits is omitted, it defaults to zero. Note: For the built-in types supporting round(), values are rounded to the closest multiple of…

python square root without math

Python has an exponentiation operator (**) which can be used to calculate the power of a number. x**y returns x raised to y i.e. y times multiplication of x. Since we need to calculate square root, y should be (1/2)…

How To Do Absolute Value In Python in 2020

What is python used for Python is the high-level programming language that is used for websites, developing desktop GUI and web applications. It is one of the famous programming languages. It enables you to concentrate on the beginning functionality of…

Python Substring examples

Create a Substring We can create a substring using string slicing. We can use split() function to create a list of substrings based on specified delimiter.   s = 'My Name is Pankaj' # create substring using slice name =…

python input function

Python provides numerous built-in functions that are readily available to us at the Python prompt. Some of the functions like input() and print() are widely used for standard input and output operations respectively. Let us see the output section first. input() Parameters The input() method…
Generic selectors
Exact matches only
Search in title
Search in content
Search in posts
Search in pages