python_math_stat/practica/stepik/sketches/sketches.py
2023-10-05 16:47:20 +03:00

37 lines
702 B
Python

# 1 fail
# i = 0
# while i < 5:
# print('*')
# if i % 2 == 0:
# print('**')
# if i > 2:
# print('***')
# i = i + 1
# 2 fail
# for num in range (a, b+1):
# print (num,end="\t")
# for num_2 in range (c, d+1):
# # # print (num_1)
# # m= int(num_1) * c
# # # print (m)
# # n= int(num_1) * d
# # # print (n)
# # if m == n:
# # print (str(num_1),str(m), sep ='\t')
# # else:
# print(num * num_2, end="\t")
# print()
# 3 fail
# a=1
# b=2
# c=3
# d=4
# for i in range(a, b + 1):
# print(i, end="\t")
# for n in range(c, d + 1):
# print(i * n, end="\t")
# print()