Update README.md

Signed-off-by: David Rotermund <54365609+davrot@users.noreply.github.com>
This commit is contained in:
David Rotermund 2023-12-05 18:55:32 +01:00 committed by GitHub
parent b46fa659e2
commit d617380126
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -33,15 +33,16 @@ a_second_number = 3.33
a_second_number = int(a_second_number)
print(type(a_second_number)) # -> <class 'int'>
```
Examples are here:
* [float(x=0.0)](https://docs.python.org/3/library/functions.html#float)
* [bin(x)](https://docs.python.org/3/library/functions.html#bin)
* [bool(x=False)](https://docs.python.org/3/library/functions.html#bool)
* [bytes(source=b'')](https://docs.python.org/3/library/functions.html#func-bytes)
* [complex(real=0, imag=0)](https://docs.python.org/3/library/functions.html#complex)
* [hex(x)](https://docs.python.org/3/library/functions.html#hex)
* [int(x=0)](https://docs.python.org/3/library/functions.html#int)
* [str(object='')](https://docs.python.org/3/library/functions.html#func-str)
|Examples|
|---|
|[float(x=0.0)](https://docs.python.org/3/library/functions.html#float)|
|[bin(x)](https://docs.python.org/3/library/functions.html#bin)|
|[bool(x=False)](https://docs.python.org/3/library/functions.html#bool)|
|[bytes(source=b'')](https://docs.python.org/3/library/functions.html#func-bytes)|
|[complex(real=0, imag=0)](https://docs.python.org/3/library/functions.html#complex)|
|[hex(x)](https://docs.python.org/3/library/functions.html#hex)|
|[int(x=0)](https://docs.python.org/3/library/functions.html#int)|
|[str(object='')](https://docs.python.org/3/library/functions.html#func-str)|
## [Basic math operations](https://docs.python.org/3/library/stdtypes.html#numeric-types-int-float-complex)