• Kurse
  • Code Compiler
  • Diskutieren
  • Preise
  • Teams
Menu
+ 1

Can anyone explain why it returning 4.0

a=2 b=1 x=a+b*(3-1)/2*a print(x)

operatorsoperator-precedencepython3
5th Mar 2023, 10:34 AM
Wen Will
Wen Will - avatar
2 Antworten
+ 2
thank you
5th Mar 2023, 10:48 AM
Wen Will
Wen Will - avatar

Häufig solche Fragen?

Effizienter lernen, kostenlos:

  • Einführung in Python

    7.1M Lernende

  • Einführung in Java

    4.7M Lernende

  • Einführung in C

    1.5M Lernende

  • Einführung in HTML

    7.5M Lernende

Alle Kurse anzeigen
Heute heiß
My codebits section is full of deleted codes
12 Votes
Why so many mathematical questions in challenges?
0 Votes
Ai generated practices
1 Votes
Where did mess up....
1 Votes
I have an error in a problem and I don't know what the correct answer is
1 Votes
Feedback on my portfolio
0 Votes
I need a siren sound
0 Votes
Yo this is madness
0 Votes
How can i insert files?
1 Votes
Patters of library class
0 Votes