Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren+ 1
How to print a number with 2 zeros after a point?
Input: a=2.5, b=4, output: c=a*b, c= 10.00
1 Antwort
+ 4
print(f'{42}.00')
Input: a=2.5, b=4, output: c=a*b, c= 10.00