Back
Close

Rust for Python Developers - Operators

Shin_O
58.2K views

This article was originally published on Medium

Follow me:

Introduction

Operators tell the compiler or interpreter to perform a specific mathematical, relational, or logical operation. Many programming languages make use of similar operator symbols.

We will go through the important arithmetic, relational, and logical operators available in Rust and we will compare them to Python.

We will learn the differences between methods and associated functions.

We also convert two simple Python codes to Rust codes to learn more about Rust programming. Let’s get started!

Create your playground on Tech.io
This playground was created on Tech.io, our hands-on, knowledge-sharing platform for developers.
Go to tech.io