Teil 6 "Objekte ist neu
Repository aufgeräumt.
This commit is contained in:
5
teil4/f-string-format.py
Normal file
5
teil4/f-string-format.py
Normal file
@@ -0,0 +1,5 @@
|
||||
import math
|
||||
|
||||
|
||||
print(f'Pi ist {math.pi}')
|
||||
print(f'Pi ist {math.pi:.2f}')
|
Reference in New Issue
Block a user