0
Floats
Why can’t I use a division sign when using float Print(float(-33.5) \ float(2.3))
5 Antworten
+ 4
You can use this:
print(-33.5 / 2.3)
please note:
(1) python is case sensitve, so print() should be in lower case letters
(2) your numbers are already floats so they don't need to be converted to floats before division
hope this helps
+ 3
What programming language you want to use? And please - show us your code sample.
+ 3
Division sign is /
+ 1
The error in your code is about that you are using backslash instead of forwardslash for division. Backslashes should only be used in strings.
Do not confuse / and \.