Jun-13-2018, 12:03 PM
hi ,
i need some help,
how can i print in python all the numbers from 0 to 5 in 0.1 steps , but the numbers (1.0,2.0,3.0,4.0,5.0) will be printed at int type.
like that:
0
0.1
0.2
0.3
0.4
0.5
0.6
0.7
0.8
0.9
1
1.1
.
.
thanks ahead.
i need some help,
how can i print in python all the numbers from 0 to 5 in 0.1 steps , but the numbers (1.0,2.0,3.0,4.0,5.0) will be printed at int type.
like that:
0
0.1
0.2
0.3
0.4
0.5
0.6
0.7
0.8
0.9
1
1.1
.
.
thanks ahead.