Вы не можете выбрать более 25 тем
Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.
50 строки
1.6 KiB
Python
50 строки
1.6 KiB
Python
# Протокол по Теме 1 Беженарь
|
|
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(r'C:\Users\u522-14\Desktop\Bezhenar\python-labs\\Tema1')
|
|
os.chdir(r'C:\Users\u522-14\Desktop\Bezhenar\python-labs\TEMA1')
|
|
|
|
====== RESTART: C:/Users/u522-14/Desktop/Bezhenar/python-labs/TEMA1/Pr0.py =====
|
|
Hello
|
|
Your name=Alena
|
|
import Pr0
|
|
Hello
|
|
Your name=Alena
|
|
import Prb1
|
|
Traceback (most recent call last):
|
|
File "<pyshell#4>", line 1, in <module>
|
|
import Prb1
|
|
ModuleNotFoundError: No module named 'Prb1'
|
|
|
|
import prb1
|
|
Как Вас зовут? Алёна
|
|
Привет, Алёна
|
|
help(print)
|
|
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.
|
|
|
|
|
|
===== RESTART: C:\Users\u522-14\Desktop\Bezhenar\python-labs\TEMA1\prb1.py =====
|
|
Как Вас зовут? Алёна
|
|
Привет, Алёна
|
|
import(tdemo_chaos.py)
|
|
SyntaxError: invalid syntax
|
|
import tdemo_chaos.py
|
|
Traceback (most recent call last):
|
|
File "<pyshell#11>", line 1, in <module>
|
|
import tdemo_chaos.py
|
|
ModuleNotFoundError: No module named 'tdemo_chaos.py'; 'tdemo_chaos' is not a package
|
|
import tdemo_chaos
|