Python, Day 2 - IWKS

Can you add an integer to a string? Try in Python IDLE and see what happens. For example: "26" + 26. More on Data Types Floatsare another data type we will need. You can switch between float, intand strings Call float on a string to convert to a float a_float = float("42") Call str on a float to convert to a string float_to_string = str(4.2) More on Data Types (Continued …) What happens when ... ................
................

In order to avoid copyright disputes, this page is only a partial summary.

Google Online Preview   Download