initial creation

This commit is contained in:
2025-05-20 11:57:43 -04:00
commit c98b612926
8447 changed files with 1862526 additions and 0 deletions
+19
View File
@@ -0,0 +1,19 @@
#!/usr/bin/env python
from datetime import date
color = 'blue'
animal = 'iguana'
print('{} {}'.format(color, animal)) # <1>
fahr = 98.6839832
print('{:.1f}'.format(fahr)) # <2>
value = 12345
print('{0:d} {0:04x} {0:08o} {0:016b}'.format(value)) # <3>
data = {'A': 38, 'B': 127, 'C': 9}
for letter, number in sorted(data.items()):
print("{} {:4d}".format(letter, number)) # <4>