Python Object and Data Structure
Numbers - FAQ Numbers FAQ 1. What's the difference between floating point and an integer? An integer has no decimals in it, a floating point number can display digits past the decimal point. 2. Why doesn't 0.1+0.2-0.3 equal 0.0 ? This has to do with floating point accuracy and computer's abilities to represent numbers in memory. For a full breakdown, check out: https://docs.python.org/2/tutorial/floatingpoint.html https://github.com/Radhika108/pythonIntroduction/blob/master/01-Numbers.ipynb Strings FAQ 1. Are strings mutable? Strings are not mutable! (meaning you can't use indexing to change individual elements of a string) 2. How do I create comments in my code? You can use the hashtag # to create comments in your code https://github.com/Radhika108/pythonIntroduction/blob/master/02-Strings.ipynb Strings FAQ 1. Are strings mutable? Strings are not mutable! (meaning you can't use indexing to change individual elements of a string) ...