Introduction To Python
Introduction To Python
It is used for:
FEATURES OF PYTHON
output
Aditya
Ankit
Sumit
output: 61
Data types of python
1. Numeric Data Types in Python
The numeric data type in Python represents the data that has a numeric value.
A numeric value can be an integer, a floating number, or even a complex
number.
Int – this data type stores integers. Eg – 4,-5,-90
Float this data types stores floating points.Eg- 4.2,-23.45,3.14
Complex- This data type stores floating points number. Eg-1+2j, 21+5j
Arithmetic Operators
+ Addition 10 + 20 = 30
- Subtraction 20 – 10 = 10
* Multiplication 10 * 20 = 200
/ Division 20 / 10 = 2
% Modulus 22 % 10 = 2
** Exponent 4**2 = 16
Assignment Operators
= Assignment Operator a = 10
Logical Operators
and Logical If both of the operands are true then the condition becomes
(a and b) is true.
AND true.
Introduction to Ai
AI BIAS
AI bias, also called machine learning bias or algorithm bias, refers to the
occurrence of biased results due to human biases that skew the original
training data or AI algorithm—leading to distorted outputs and potentially
harmful outcomes.
AI ETHICS
Ethics is a set of moral principles which help us discern between right and
wrong. AI ethics is a multidisciplinary field that studies how to optimize AI's
beneficial impact while reducing risks and adverse outcomes.
Examples of AI ethics issues include data responsibility and privacy, fairness,
explainability, robustness, transparency, environmental sustainability, inclusion,
moral agency, value alignment, accountability, trust, and technology misuse.