+ 5

Can someone explain to me why python doesn't accept number results without adding point 0 at the end

Python floats

28th Aug 2019, 11:46 PM
Divine Darkey
Divine Darkey - avatar
2 ответов
+ 2
Take a look at your code. Remember, int is a whole number like 1 and float is a floating point number like 1.0
29th Aug 2019, 12:06 AM
Bruce Pouncey
Bruce Pouncey - avatar
+ 4
It does. Show me your code. There might be some other underlying cause.
28th Aug 2019, 11:53 PM
👑 Prometheus 🇸🇬
👑 Prometheus 🇸🇬 - avatar