Home > Back-end >  Python notes
Python notes

Time:11-08

A, b=map (int, input (). The split ())
# # x=a % b
# # print (x)
# #
# #
# #
# # a=1/(1 - x * * 2)
# # b=2 * x - 1
# n=input ()
# x=len (n)
# n=int (n)
# for I in range (1, x + 1) :
# y=n % 10
# n=n//10
# print (y, end="")




# m=[31,29,31,30,31,30,31,31,30,31,30,31]
# n=31,28,31,30,31,30,31,31,30,31,30,31 []
# x, y, z=map (int, input (). The split ())
# if x % 400==0 or x % 4==0 and not (x==0 100%) :
# m=m/y - 1:
# print (sum (m) + z)
# the else:
# n=n/y - 1:
# print (sum (n) + z)


# n=int (input ())
A=# 1
B=# 1
# s=1
# for I in range (n) :
# a=a + 1
# b=b + 2
# if a % 2!=0:
# s +=a/b
# elif a % 2==0:
# s +=- a/b
# print (' %. 10 f % s)

# a, b, c=map (int, input (). The split ())
# p=(a + b + c)/2
# s=(p * (p - a) * (p - b) * (p - c)) * * 0.5
# if a + b# print (' cannot constitute a triangle)
A + # elif c# print (' cannot constitute a triangle)
# elif b + c# print (' cannot constitute a triangle)
# the else:
# print (% s. % 2 f)


# a, b, c=map (int, input (). The split ())
# if a==b==c:
# print (" equilateral triangle ")
# elif a==b:
# print (' isosceles triangle)
# elif b==c:
# print (' isosceles triangle)
# elif a==c:
# print (' isosceles triangle)
A + # elif b# print (' cannot constitute a triangle)
A + # elif c# print (' cannot constitute a triangle)
# elif b + c# print (' cannot constitute a triangle)
# the else:
# print (' general triangle)



# 3
# x=input (' type a letter ')
# if x==x.u pper () :
# # print (x.l power ()) upper into uppercase CRH into character word into the lower ask yards into lowercase
# the else:
# print (' this is not capital ')

# 4
# x=input (' type a letter ')
# if x==x.l power () :
# print (x.u pper ())
# the else:
# print () 'this is not a lowercase letter'
  • Related