What does a dot after an integer mean in python?

前端 未结 3 943
灰色年华
灰色年华 2020-12-07 00:45

I am looking at this line of python code (which seems to run properly):

import numpy as np
yl = 300 + 63*np.exp(-x/35.)

What is the dot doi

3条回答
  •  甜味超标
    2020-12-07 00:59

    Float

    Next time, try to explore this using Python

    r= 34.
    
    print type(r)
    

    Output:

提交回复
热议问题