Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren0
Can floats be created if the number is divisible.. Eg: 8/4 2.... Does it still create a float... Eg: 2.0
Floats can be created directly by entering a number with a decimal point, or by using operations such as division on integers...Eg: >>>3/4 0.75
1 Antwort
+ 4
Yup, in py, floats r created even when the number is divisible. U can try it in code playground.