science of money and business
![](https://from-locals.com/wp-content/uploads/2022/04/2_83_JaInfo-1-320x180.jpg)
Compute trigonometric functions in Python (sin, cos, tan, arcsin, arccos, arctan)
Using math, Python's standard module for mathematical functions, you can compute trigonometric functions (sin, cos, ...
![](https://from-locals.com/wp-content/uploads/2022/04/2_82_JaInfo-1-320x180.jpg)
Compute exponential and logarithmic functions in Python (exp, log, log10, log2)
Using math, Python's standard module for mathematical functions, you can calculate exponential and logarithmic funct...
![](https://from-locals.com/wp-content/uploads/2022/04/2_81_JaInfo-1-320x180.jpg)
Compute and generate factorials, permutations and combinations in Python
The standard module math for mathematical functions in Python can be used to compute factorials. SciPy also has function...
![](https://from-locals.com/wp-content/uploads/2022/04/2_79_JaInfo-1-320x180.jpg)
How to write conditional branches with if statements in Python
Explain conditional branching with if statements in Python.Basics of if statements (if, elif, else)Specify conditions wi...
![](https://from-locals.com/wp-content/uploads/2022/04/2_80_JaInfo-1-320x180.jpg)
Writing if statements in one line with Python’s ternary operator (conditional operator)
Python has a writing style called ternary operators (conditional operators) that can describe a process like an if state...
![](https://from-locals.com/wp-content/uploads/2022/04/2_78_JaInfo-320x180.jpg)
Swap rows and columns of a two-dimensional array of Python list type
The standard Python list type can represent a two-dimensional array by a list of lists.This section explains how to swap...
![](https://from-locals.com/wp-content/uploads/2022/04/2_76_JaInfo-320x180.jpg)
Remove and extract duplicate elements from a list (array) in Python
This section describes how to generate a new list in Python by removing or extracting duplicate elements from a list (ar...
![](https://from-locals.com/wp-content/uploads/2022/04/2_77_JaInfo-1-320x180.jpg)
Determining if a list (array) has duplicate elements in Python
The following is a description of how to determine if a list (array) has duplicate elements (all elements are unique/uni...
![](https://from-locals.com/wp-content/uploads/2022/04/2_75_JaInfo-320x180.jpg)
Set operations (e.g., determining union sets, product sets, and subsets) with Python’s set type
Python provides a built-in data type, set, which handles sets.The type set is a collection of non-duplicate elements (el...
![](https://from-locals.com/wp-content/uploads/2022/04/2_74_JaInfo-1-320x180.jpg)
type(), isinstance() to get and determine type in Python
In Python, the built-in functions type() and isinstance() are used to get and check the type of an object, such as a var...