Сравнить коммиты
6 Коммитов
Автор | SHA1 | Дата |
---|---|---|
|
0e11063ed4 | 14 часов назад |
|
56d1a84d14 | 14 часов назад |
|
c47349c282 | 15 часов назад |
|
43e403eee6 | 15 часов назад |
![]() |
a59cc508cc | 15 часов назад |
![]() |
c259f11891 | 16 часов назад |
@ -0,0 +1,5 @@
|
|||||||
|
#Программа по Теме 1 Грудинин Егор Константинович
|
||||||
|
print('Hello')
|
||||||
|
h=input('Your name=')
|
||||||
|
import os
|
||||||
|
os.chdir('C:\\Users\\u207-08\\Desktop\\python-labs\\TEMA1\\')
|
После Ширина: | Высота: | Размер: 1.0 MiB |
После Ширина: | Высота: | Размер: 2.1 MiB |
После Ширина: | Высота: | Размер: 2.5 MiB |
@ -0,0 +1,87 @@
|
|||||||
|
# Отчет по теме 1
|
||||||
|
|
||||||
|
Грудинин Егор, А-03-23
|
||||||
|
|
||||||
|
## 1 Знакомство с интерпретатором и интерактивной оболочкой IDLE
|
||||||
|
|
||||||
|
## 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.
|
||||||
|
|
||||||
|
```py
|
||||||
|
print('Hello')
|
||||||
|
Hello
|
||||||
|
h=input('Your name=')
|
||||||
|
Your name=Egor
|
||||||
|
exit()
|
||||||
|
```
|
||||||
|
|
||||||
|
## 1.2 Начао работы с idle, пункт 8
|
||||||
|
|
||||||
|
import os
|
||||||
|
|
||||||
|
os.chdir('C:\\Users\\u207-08\\Desktop\\python-labs\\TEMA1\\')
|
||||||
|
|
||||||
|
## 1.3 Выполнение пунктов 10-14
|
||||||
|
|
||||||
|
Hello
|
||||||
|
|
||||||
|
Your name=EGOR
|
||||||
|
|
||||||
|
import Pr0
|
||||||
|
|
||||||
|
Hello
|
||||||
|
|
||||||
|
Your name=Egor
|
||||||
|
|
||||||
|
Hello
|
||||||
|
|
||||||
|
Your name=Egor
|
||||||
|
|
||||||
|
import prb1
|
||||||
|
|
||||||
|
Как Вас зовут? Egor
|
||||||
|
|
||||||
|
Привет, Egor
|
||||||
|
|
||||||
|
Содержание файлов из pychache
|
||||||
|

|
||||||
|
|
||||||
|
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.4 пункт 15
|
||||||
|
|
||||||
|
import tdemo_chaos
|
||||||
|
|
||||||
|

|
||||||
|

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