Решения на первый блок

This commit is contained in:
2025-03-25 12:39:42 +03:00
parent 1e61635a97
commit 7f72988d8b
12 changed files with 280 additions and 0 deletions
+12
View File
@@ -0,0 +1,12 @@
day = int(input('Enter day of the month: '))
month = input('Enter name of the month: ')
year = int(input('Enter the year: '))
yyyy_mm_dd = f'{year}-{month}-{day}'
dd_mm_yyyy = f'{day}-{month}-{year}'
print(f'''
Result:
yyyy_mm_dd: \t {yyyy_mm_dd}
dd_mm_yyyy: \t {dd_mm_yyyy}
''')