Skip to content

Commit 58584bf

Browse files
authored
Basic.py
1 parent 7bfb74b commit 58584bf

File tree

1 file changed

+5
-14
lines changed

1 file changed

+5
-14
lines changed

main.py

Lines changed: 5 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,6 @@
1-
# text = 'this hamburger is'
2-
# buck = 'dollars'
3-
# price = 10
4-
# fuck = text + price + bucks
5-
# print(fuck)
6-
# there is no way to concatenate str to int
7-
#
8-
#Input tutorial
9-
# name = input('whats your name, dude?\n')
10-
# print('hello' + name)
11-
# work = input('what are you gonna do next today?\n')
12-
# print('this ' + work + ' takes a lot of time')
13-
birthYear = input('BIrth year:')
1+
import calendar
142

15-
age = 2022 - int(birthYear)
3+
mm = 4
4+
yy = 2002
5+
6+
print(calendar.month(mm, yy))

0 commit comments

Comments
 (0)