python:eisodos-exodos
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| python:eisodos-exodos [2026/05/17 18:27] – dmakryp | python:eisodos-exodos [Unknown date] (current) – removed - external edit (Unknown date) 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== 4. Είσοδος - Έξοδος ====== | ||
| - | |||
| - | {{https:// | ||
| - | |||
| - | **2.5 Είσοδος και Έξοδος** (σύμφωνα με το βιβλίο ΙΕΠ) | ||
| - | |||
| - | Για να επικοινωνούμε με το πρόγραμμα χρησιμοποιούμε δύο βασικές εντολές: | ||
| - | |||
| - | ===== Η εντολή print() ===== | ||
| - | |||
| - | Η εντολή `print()` **εμφανίζει** κείμενο ή αποτελέσματα στην οθόνη. | ||
| - | |||
| - | ```python | ||
| - | print(" | ||
| - | |||
| - | print(" | ||
| - | |||
| - | print(" | ||
| - | |||
| - | name = input(" | ||
| - | |||
| - | age = int(input(" | ||
| - | |||
| - | age = int(input(" | ||
| - | |||
| - | # Πλήρες παράδειγμα | ||
| - | name = input(" | ||
| - | age = int(input(" | ||
| - | favorite = input(" | ||
| - | |||
| - | print(" | ||
| - | print(" | ||
| - | print(" | ||
| - | print(" | ||
| - | print(" | ||
python/eisodos-exodos.1779031624.txt.gz · Last modified: by dmakryp
