for samples
This commit is contained in:
parent
453e277292
commit
fc25070bab
3
python-temel/for.sample.2.py
Normal file
3
python-temel/for.sample.2.py
Normal file
|
@ -0,0 +1,3 @@
|
|||
with open('sample.py', 'r') as f:
|
||||
l = list(f)
|
||||
print(l)
|
3
python-temel/for.sample.py
Normal file
3
python-temel/for.sample.py
Normal file
|
@ -0,0 +1,3 @@
|
|||
with open('sample.py', 'r') as f:
|
||||
for line in f:
|
||||
print(line, end='')
|
Loading…
Reference in New Issue
Block a user