#Unicode universal code 2 bytes to store one character
#Unicode 8byte 1 byte can put up to the 7th power of 2 -1 at least -2 to the 7th power
#python operating mechanism interpreted language/compiled language (java C language)
# hello.java-->hello.class
#python js php js--> translate while executing
# print(1+1)
#1, variables do not need variables, no need to declare
#a=10
#Reference, all variables are Object
# print(88,end="")
#Expression without newline
# print(90)
#Default data type str
# a=input('Please input:')
# print("You:",a)
'' '
Multi-line comment
'''
# str="weather\nno\twrong"
#ctrl+dcopy cursor line
# str="weather\nno\twrong"
#\nNewline (\t Tab character defaults to Tab 8 or 4 spaces, generally python is 4 spaces in front if there is data to fill 4 spaces, no 4 spaces)
# print(str) #Assignment
together
# a=b= c=1
# print(a)
# print(b)
# print(c)
#Assignment respectively
# a,b,c=10,2,3
# print('default floating-point quotient',a/4)
# print('remainder',a%4)
# print('integer quotient',a| |4)
# print('Power',10**2)
#delete
# del var del vara,varb
# if 1==1:
# print('1==1')
# else:
# print(' 1!=1')
#
#
# if 1 in (1,2,3)
# print('true')
# e lif # a=input('Please enter a four-digit number:')
# print('and =:')
# num=int(input('Enter a number with four digits:'))
# qian=num//1000
# bai=num%1000//100
# shi=num%100//10
# ge= num%10
# print(qian+bai+shi+ge)
# a=int(input('Please enter the grade:'))
# if ( a>=90):
# print('Excellent')
# elif ( a>=70):
# print('good')
# elif ( a>=60 ):
# print('pass')
# else:
# print('fail')
# import random
# n= int (random.random()*10)
# c=int(input('please input:'))
# if c>n:
# print('big')
# elif c<n:
# print('small')
# else:
# print('Yes')
# print(c)
b= int ( input ( 'Please enter the month:' ))
if b in ( 1 , 3 , 5 , 7 , 8 , 10 ,12):
print ( 'month:' ,b, 'days:' , 31 )
if b in ( 4 , 6 , 9 , 11 ):
print ( 'month:' ,b, 'days:' , 30 )
else :
year= int ( input ( 'Please enter the year:' ))
if :
(year%4==0 and year%100!=0) or
(year%100==0 and year%400==0):