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
c0902988
Kaydet (Commit)
c0902988
authored
Eyl 12, 2007
tarafından
Georg Brandl
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Document input() function.
üst
7dd803a4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
0 deletions
+16
-0
functions.rst
Doc/library/functions.rst
+16
-0
No files found.
Doc/library/functions.rst
Dosyayı görüntüle @
c0902988
...
...
@@ -524,6 +524,22 @@ available. They are listed here in alphabetical order.
(Implementation note: this is the address of the object.)
.. function:: input([prompt])
If the *prompt* argument is present, it is written to standard output without
a trailing newline. The function then reads a line from input, converts it
to a string (stripping a trailing newline), and returns that. When EOF is
read, :exc:`EOFError` is raised. Example::
>>> s = raw_input('
-->
')
--> Monty Python'
s
Flying
Circus
>>>
s
"Monty Python's Flying Circus"
If
the
:
mod
:`
readline
`
module
was
loaded
,
then
:
func
:`
raw_input
`
will
use
it
to
provide
elaborate
line
editing
and
history
features
.
..
function
::
int
([
x
[,
radix
]])
Convert
a
string
or
number
to
an
integer
.
If
the
argument
is
a
string
,
it
...
...
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