Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
cpython
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
Batuhan Osman TASKAYA
cpython
Commits
2b48f949
Kaydet (Commit)
2b48f949
authored
Eyl 30, 2006
tarafından
Georg Brandl
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Bug #1567375: a minor logical glitch in example description.
(backport from rev. 52053)
üst
6fed7937
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
tut.tex
Doc/tut/tut.tex
+4
-2
No files found.
Doc/tut/tut.tex
Dosyayı görüntüle @
2b48f949
...
@@ -3060,6 +3060,7 @@ Here are two ways to write a table of squares and cubes:
...
@@ -3060,6 +3060,7 @@ Here are two ways to write a table of squares and cubes:
8
64
512
8
64
512
9
81
729
9
81
729
10
100
1000
10
100
1000
>>> for x in range
(
1
,
11
)
:
>>> for x in range
(
1
,
11
)
:
... print '
%2d %3d %4d' % (x, x*x, x*x*x)
... print '
%2d %3d %4d' % (x, x*x, x*x*x)
...
...
...
@@ -3075,8 +3076,9 @@ Here are two ways to write a table of squares and cubes:
...
@@ -3075,8 +3076,9 @@ Here are two ways to write a table of squares and cubes:
10
100
1000
10
100
1000
\end
{
verbatim
}
\end
{
verbatim
}
(
Note that one space between each column was added by the way
(
Note that in the first example, one space between each column was
\keyword
{
print
}
works: it always adds spaces between its arguments.
)
added by the way
\keyword
{
print
}
works: it always adds spaces between
its arguments.
)
This example demonstrates the
\method
{
rjust
()
}
method of string objects,
This example demonstrates the
\method
{
rjust
()
}
method of string objects,
which right
-
justifies a string in a field of a given width by padding
which right
-
justifies a string in a field of a given width by padding
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment