Python Numbers Presentation


This is the presentation associated with the python numbers video.

[dflip id=”2335″ ][/dflip]

Download Presentation

Python Numbers Video Question

This is the question that was asked in the python numbers video

Question : 

We have a number without decimal place assigned to variable x.
	x = 9E3
What is the datatype of ‘x’?

[bg_collapse view=”button-blue” color=”#ffffff” icon=”eye” expand_text=”Show Answer” collapse_text=”Hide Answer” ]

It is a float.

In [1]:
x = 9E3
print(type(x))
<class 'float'>

[/bg_collapse]