форкнуто от main/python-labs
Родитель
f61d94e737
Сommit
3971e5e58f
@ -0,0 +1,4 @@
|
||||
#Программа по Теме 1 Марков Никита Сергеевич
|
||||
print('Hello')
|
||||
h=input('Your name=')
|
||||
import os
|
После Ширина: | Высота: | Размер: 46 KiB |
@ -0,0 +1,71 @@
|
||||
# Отчет по теме 1
|
||||
|
||||
Марков Никита, А-03-23
|
||||
|
||||
## 1 Изучение среды IDLE
|
||||
|
||||
## Выполнение 3-8 пунктов
|
||||
|
||||
```
|
||||
>>> print('Hello')
|
||||
Hello
|
||||
>>> h=input('Your name=')
|
||||
Your name=Nikita
|
||||
>>> exit()
|
||||
|
||||
>>> import os
|
||||
>>> os.chdir('C:\\Users\\u111-06\\Desktop\\python-labs\\TEMA1\\')
|
||||
```
|
||||
|
||||
## Выполнение 10-14 пунктов
|
||||
|
||||
```
|
||||
Hello
|
||||
Your name=Nikita
|
||||
import Pr0
|
||||
Hello
|
||||
Your name=Nikita
|
||||
import prb1
|
||||
Как Вас зовут? Nikita
|
||||
Привет, Nikita
|
||||
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.
|
||||
|
||||
(None, None)
|
||||
|
||||
```
|
||||
|
||||
## Выполнение 15 пункта
|
||||
|
||||
```
|
||||
import tdemo_chaos
|
||||
|
||||
<image src="turtle.png">
|
||||
|
||||
<image src="clock.png">
|
||||
|
||||
```
|
||||
|
После Ширина: | Высота: | Размер: 44 KiB |
Загрузка…
Ссылка в новой задаче