Skip to content
Snippets Groups Projects
Commit 9f7d724a authored by Christof Kaufmann's avatar Christof Kaufmann
Browse files

Notebooks from applied-cs/data-science@0d9becc1

parent 23f96819
Branches
No related tags found
No related merge requests found
%% Cell type:markdown id:0004-1f61845aa97bff37f25f818467391b497fa5b6fcf087d0e81c71532c275 tags:
# Datentyp ausgeben
Welchen Datentyp haben folgende Werte?
1. `True`
2. `0j`
3. `None`
## Lösung
Die Typen lassen sich einfach mit `type` bestimmen:
%% Cell type:code id:0005-df7d7494b32b7cdbd79087a8dd57a4c6c95095e82547c637f4c4bfe485f tags:
```
type(True)
```
%% Output
<class 'bool'>
%% Cell type:code id:0006-13b52566f22a279acd63fc57d95091b2493357706bd065d8a727b572611 tags:
```
type(0j)
```
%% Output
<class 'complex'>
%% Cell type:code id:0007-d581c12814308cfeab9686cf0b8a070a86377c5a2d8a168461e9fb10135 tags:
```
type(None)
```
%% Output
<class 'NoneType'>
%% Cell type:markdown id:0003-2a798ee28cfcb938800beac0fd4712c3d054f0b3f638832be626b907c00 tags:
# Datentyp ausgeben
Welchen Datentyp haben folgende Werte?
1. `True`
2. `0j`
3. `None`
Hier Ihr Code:
%% Cell type:code id:0004-44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 tags:
```
```
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment