How to Create Scientific Number Variables in Python


In this example, we will learn how to create scientific number variables in Python.

Source Code

a = 5e4
b = 5E4
c = 55.55e4
d = -55.55e10

print(type(a))
print(type(b))
print(type(c))
print(type(d))

Output:




Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments