SunFounder Thales Kit for Raspberry Pi Pico, Release 1.0
Arithmetic Operators
You can use arithmetic operators to do some common mathematical operations.
Operator
Name
+
Addition
-
Subtraction
*
Multiplication
/
Division
%
Modulus
**
Exponentiation
//
Floor division
x
=
5
y
=
3
a
=
x
+
y
b
=
x
-
y
c
=
x
*
y
d
=
x
/
y
e
=
x
%
y
f
=
x
**
y
g
=
x
//
y
(a)
(b)
(c)
(d)
(e)
(f)
(g)
>>> %Run -c $EDITOR_CONTENT
8
2
15
1.666667
2
125
1
8
2
15
>>>
3.5. MicroPython Basic Syntax
129
Содержание Thales Kit
Страница 1: ...SunFounder Thales Kit for Raspberry Pi Pico Release 1 0 Jimmy SunFounder Jun 04 2021 ...
Страница 2: ......
Страница 4: ...ii ...
Страница 6: ...SunFounder Thales Kit for Raspberry Pi Pico Release 1 0 2 CONTENTS ...
Страница 10: ...SunFounder Thales Kit for Raspberry Pi Pico Release 1 0 6 Chapter 1 Introduction to Raspberry Pi Pico ...
Страница 12: ...SunFounder Thales Kit for Raspberry Pi Pico Release 1 0 8 Chapter 2 What is Included in This Kit ...
Страница 13: ...SunFounder Thales Kit for Raspberry Pi Pico Release 1 0 2 1 Components List 2 1 Components List 9 ...
Страница 42: ...SunFounder Thales Kit for Raspberry Pi Pico Release 1 0 38 Chapter 2 What is Included in This Kit ...
Страница 140: ...SunFounder Thales Kit for Raspberry Pi Pico Release 1 0 136 Chapter 3 For MicroPython User ...
Страница 164: ...SunFounder Thales Kit for Raspberry Pi Pico Release 1 0 160 Chapter 4 For Arduino User ...