Сравнить коммиты
6 Коммитов
Автор | SHA1 | Дата |
---|---|---|
|
a4508b154f | 14 часов назад |
![]() |
a50f702824 | 14 часов назад |
![]() |
64c9f5c669 | 14 часов назад |
![]() |
35bfe622cb | 14 часов назад |
![]() |
c4ef032844 | 14 часов назад |
![]() |
53d170d83a | 15 часов назад |
После Ширина: | Высота: | Размер: 2.4 MiB |
После Ширина: | Высота: | Размер: 2.2 MiB |
@ -0,0 +1,6 @@
|
|||||||
|
#Программа по Теме 1 Бутко Захара Владимировича
|
||||||
|
print('Hello')
|
||||||
|
h=input('Your name=')
|
||||||
|
exit()
|
||||||
|
import os
|
||||||
|
os.chdir('C:\\Users\\u207-07\\Desktop\\python-labs\\TEMA1\\')
|
@ -0,0 +1,80 @@
|
|||||||
|
# Отчет по теме 1
|
||||||
|
|
||||||
|
Бутко Захар, А-03-23
|
||||||
|
|
||||||
|
## 1 Основы языка программирования Python
|
||||||
|
|
||||||
|
## 1.1 Работа с пунктами 3-5
|
||||||
|
|
||||||
|
Python 3.11.5 (tags/v3.11.5:cce6ba9, Aug 24 2023, 14:38:34) [MSC v.1936 64 bit (AMD64)] on win32
|
||||||
|
|
||||||
|
Type "help", "copyright", "credits" or "license" for more information.
|
||||||
|
|
||||||
|
print('Hello')
|
||||||
|
|
||||||
|
Hello
|
||||||
|
|
||||||
|
h=input('Your name=')
|
||||||
|
|
||||||
|
Your name=Zakhar
|
||||||
|
|
||||||
|
## 1.2 Работа с IDLE 6-8
|
||||||
|
|
||||||
|
Python 3.11.5 (tags/v3.11.5:cce6ba9, Aug 24 2023, 14:38:34) [MSC v.1936 64 bit (AMD64)] on win32
|
||||||
|
|
||||||
|
Type "help", "copyright", "credits" or "license" for more information.
|
||||||
|
|
||||||
|
import os
|
||||||
|
|
||||||
|
os.chdir('C:\\Users\\u207-07\\Desktop\\python-labs\\TEMA1\\')
|
||||||
|
|
||||||
|
## 1.3 Продолжение работы с IDLE 10-12
|
||||||
|
|
||||||
|
import os
|
||||||
|
|
||||||
|
os.chdir('C:\\Users\\u207-07\\Desktop\\python-labs\\TEMA1\\')
|
||||||
|
|
||||||
|
import prb1
|
||||||
|
|
||||||
|
Как Вас зовут? Захар
|
||||||
|
|
||||||
|
Привет, Захар
|
||||||
|
|
||||||
|
//проверил работу файлов с инсутрукций в папке __pycache__//
|
||||||
|
|
||||||
|
## 1.4 Выполнение разных команд.
|
||||||
|
|
||||||
|
help(print); help(input)
|
||||||
|
|
||||||
|
Help on built-in function print in module builtins:
|
||||||
|
|
||||||
|
print(*args, sep=' ', end='\n', file=None, flush=False)
|
||||||
|
Prints the values to a stream, or to sys.stdout by default.
|
||||||
|
|
||||||
|
sep
|
||||||
|
string inserted between values, default a space.
|
||||||
|
end
|
||||||
|
string appended after the last value, default a newline.
|
||||||
|
file
|
||||||
|
a file-like object (stream); defaults to the current sys.stdout.
|
||||||
|
flush
|
||||||
|
whether to forcibly flush the stream.
|
||||||
|
|
||||||
|
Help on built-in function input in module builtins:
|
||||||
|
|
||||||
|
input(prompt='', /)
|
||||||
|
Read a string from standard input. The trailing newline is stripped.
|
||||||
|
|
||||||
|
The prompt string, if given, is printed to standard output without a
|
||||||
|
trailing newline before reading input.
|
||||||
|
|
||||||
|
If the user hits EOF (*nix: Ctrl-D, Windows: Ctrl-Z+Return), raise EOFError.
|
||||||
|
On *nix systems, readline is used if available.
|
||||||
|
|
||||||
|
## 1.5 Выполнение пункта 15
|
||||||
|
|
||||||
|
import tdemo_chaos
|
||||||
|
|
||||||
|

|
||||||
|

|
||||||
|
|
Загрузка…
Ссылка в новой задаче