Update page 'Day 1 homework - Xuanyi Wang (Sloetjes)'
@@ -24,15 +24,15 @@ Double-precision floating-point numbers are represented using 64 bits, with 1 bi
|
|||||||
|
|
||||||
|
|
||||||
#### 3. Does your computer support all those formats? Can you think of an easy way to check with only one line of Python?
|
#### 3. Does your computer support all those formats? Can you think of an easy way to check with only one line of Python?
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
```
|
```
|
||||||
import platform
|
import platform
|
||||||
|
|
||||||
platform.architecture()[0]
|
platform.architecture()[0]
|
||||||
```
|
```
|
||||||
|
###### Output:
|
||||||
|
```
|
||||||
|
'64bit'
|
||||||
|
```
|
||||||
#### 4. Why doesn't this code give the same answers to the two multiplications?
|
#### 4. Why doesn't this code give the same answers to the two multiplications?
|
||||||
```
|
```
|
||||||
mport pandas as pd
|
mport pandas as pd
|
||||||
|
|||||||
Reference in New Issue
Block a user