filmov
tv
02 - Data Types & Conversion
Показать описание
We learn about different data types, including characters, strings, inegers, and floating point numbers. We also cover how to convert between types.
Summary:
- Every value has a type
- Use the built-in function `type` to find the type of a value
- Types control what operations can be done on values
- Strings can be added and multiplied
- Strings have a length (but numbers don't)
- Use the built-in function `len` to find the length of a string
- Use an index to get a single character from a string
- Use a slice to get a substring
- Can mix integers and floats freely in operations
- Must convert numbers to strings or vice versa when operating on them
From the course, NESC 3505 Neural Data Science, by Aaron J Newman, Dalhousie University, Halifax, NS, Canada.
Summary:
- Every value has a type
- Use the built-in function `type` to find the type of a value
- Types control what operations can be done on values
- Strings can be added and multiplied
- Strings have a length (but numbers don't)
- Use the built-in function `len` to find the length of a string
- Use an index to get a single character from a string
- Use a slice to get a substring
- Can mix integers and floats freely in operations
- Must convert numbers to strings or vice versa when operating on them
From the course, NESC 3505 Neural Data Science, by Aaron J Newman, Dalhousie University, Halifax, NS, Canada.
Python 02: Data Types
Python 02 Data Types
Python 02 Data Types
Programming with Python | #02 : Data Types
Lesson 02 Data Types
02. Data types in Apex |Apex Fundamentals | Salesforce Developer
02 Data Types
02 - Data Types & Conversion
Java crash course - Episode 2 Variables & Types | How to make a minecraft client for 1.21
Intro to Data - 04-02 - Data Types
02 Datatypes & Variables
IDS - Week 04 - 02 - Data types
C Programming for Beginners 02: Data Types
02 - Python Data Types Explained | Strings, Numbers & User Input
02 Data Types
MySQL 02 | Datatypes
V02 - Primitive Data Types - number, string, boolean
02 Data types in DAX
[Python Programming Basics to Advanced]: Variables and Data Types | Lab 02 P-1
02 - Data Types , User Defined Data Types, Abstract Data Types | Data Structures
02. C Programming for IA: Data types, two's complement, fixed point and floating point formats
Python2Java : 02 - Data Types
2.2.2 Data Types - Revise GCSE Computer Science
Learn Programming in Java - Lesson 02 : Variables, Data Types and Assignment.
Комментарии