CS计算机代考程序代写 This is Your Presentation Title

This is Your Presentation Title

Data Types
Type
Bool
Integer
Float
String
List

Explanation
: 0/1 or True/False
: Real numbers. (1, 2, 3, …, ∞)
: Decimals.
: Sequence of alphabets and/or numbers. Between ‘’
: Group of any of the above mentioned types.

1

2
Basic Arithmetic Operators
Type
+, –
*, /
**
//
%

Explanation
: Addition, Subtraction
: Multiply, Divide
: Exponentiate
: Divide with integer output. (No fractions)
: Modulus. For example – 10 % 3.
3 x 3 = 9
10 – 9 = 1

3
Logical Operators
Type
=
>=
<= == != Explanation : Assign a value to a variable : Greater than or equal to : Less than or equal to : Equal to : Not equal to Other Common operators Operators # If/else del for print return Meaning : This is a comment only for human readability. : if true run code between below, else skip it. : Delete a variable. : Initiates a loop. : Prints output. : Returns output and stops the code below from executing 4