forked from Yesen/python_math_stat
90 lines
2.1 KiB
Python
90 lines
2.1 KiB
Python
# # # greeting = "Hello world"
|
|
# # # greetingl = len(greeting)
|
|
# # # print(greetingl)
|
|
# # result = 1000/7
|
|
# # print(result)
|
|
# # print("The result of division is {0:10.3f}".format(result))
|
|
# # {0:10.2f}{1:10.2f}{2:10.2f}
|
|
# # {3:10.2f}{4:10.2f}{5:10.2f}
|
|
# # """.format(1.5674, 3.56, 78.3434, 876.652357658
|
|
# # number_list = [8, 2, 24]
|
|
# # number_list.reverse()
|
|
# # number_list.pop()
|
|
# # print (number_list[0])
|
|
|
|
# # number_list.sort()
|
|
# # number_list.pop()
|
|
# # print (number_list[0])
|
|
|
|
# # print (number_list.sort())
|
|
|
|
# # a = input ('первое число ')
|
|
# # b = input ('vtoroe число ')
|
|
# # c = input ('tretye число ')
|
|
# # a1 = int(a)
|
|
# # b1 = int(b)
|
|
# # c1 = int(c)
|
|
# # number_list = [a,b,c]
|
|
# # number_list.sort()
|
|
# # print (number_list[2])
|
|
# # print (number_list[0])
|
|
# # print (number_list[1])
|
|
|
|
# # a = input ('chislo ')
|
|
# # a1 = int(a)
|
|
# # first = a[:]
|
|
# # first1 = (first[0])
|
|
# # first2 = (first[1])
|
|
# # first3 = (first[2])
|
|
# # first_int_1 = int(first1)
|
|
# # first_int_2 = int(first2)
|
|
# # first_int_3 = int(first3)
|
|
# # sum_first = first_int_1 + first_int_2 + first_int_3
|
|
# # second = a[:]
|
|
# # second1 = (second[3])
|
|
# # second2 = (second[4])
|
|
# # second3 = (second[5])
|
|
# # second_int_1 = int(second1)
|
|
# # second_int_2 = int(second2)
|
|
# # second_int_3 = int(second3)
|
|
# # sum_second = second_int_1 + second_int_2 + second_int_3
|
|
# # if sum_first == sum_second:
|
|
# # print ("luck")
|
|
# # else:
|
|
# # print ("standart")
|
|
|
|
# # a = int(input())
|
|
# # b = int(input())
|
|
# # c = int(input())
|
|
# # p = (a+b+c)/2
|
|
# # # S = (p*(p-a)*(p-b)*(p-c))**0.5
|
|
# # # print(S)
|
|
|
|
# # # 1
|
|
# # a = int (input())
|
|
|
|
# # smile = '\U0001f600'
|
|
# # print (smile)
|
|
# # if smile == '\U0001f600':
|
|
# # print (smile,smile)
|
|
|
|
# # for x in range (10)
|
|
|
|
# # for number in range (10):
|
|
# # count = 0
|
|
# # emoticons = ''
|
|
# # while count <= number:
|
|
# # emoticons += '\U0001f600'
|
|
# # count += 1
|
|
# # print (emoticons)
|
|
|
|
# for number in range (10):
|
|
# emoticons = ''
|
|
# for count in range (number + 1):
|
|
# emoticons += '\U0001f600'
|
|
# print (emoticons)
|
|
|
|
a= 1**322
|
|
b = 321**322
|
|
c = a/b
|