Skip to content

Lesson4 - #3

Open
SRytv wants to merge 6 commits into
masterfrom
lesson4
Open

Lesson4#3
SRytv wants to merge 6 commits into
masterfrom
lesson4

Conversation

@SRytv

@SRytv SRytv commented Sep 17, 2018

Copy link
Copy Markdown
Owner

No description provided.

Comment thread Lesson4/SRHw04_normal.py
@@ -0,0 +1,88 @@

# �������-1:

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Что с кодировкой?)

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Возможно, это последствия того, что я копирую условие здания в PyCharm, а потом готовое задание иногда с комментариями дооформляю в редакторе EditPus. Последовательность всегда одинакова, при этом странно, что файл hard.py и easy.py в директории lesson4 отображаются правильно (не знаю как в pull request). Может какие-то проблемы с исходной кодировкой (hard был - UTF-8, а easy и normal - ASCII). Если нужно, могу пересохранить все в UTF-8 и снова пересдать в lesson4.

Comment thread Lesson4/SRHw04_hard.py
import re

for i in range(1,6):
pattrn_str = str(i) + str(i+1) + str(i+2) + str(i+3) + str(i+4)

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Интересная интерпретация азадния) под 5 последовательными числами имеется в виду 5 любых чисел расположенных друг за другом (то есть 73167 в начале строки вполне подходит)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants