- 1

Integers into floats

Can you add/subtract integers with floats in python?

12th Oct 2021, 1:36 AM
Elliott Norris
3 odpowiedzi
+ 4
Try to answer this yourself Go to plavground and write a code to test
12th Oct 2021, 2:00 AM
Rik Wittkopp
Rik Wittkopp - avatar
+ 3
Implicit type conversion ,python automatically converts the data types
12th Oct 2021, 2:05 AM
Prabhas Koya
+ 1
Yes the result will be a float.
12th Oct 2021, 1:57 AM
Stefanoo
Stefanoo - avatar