פייתון/פייתון גרסה 3/אינדקס: הבדלים בין גרסאות בדף

תוכן שנמחק תוכן שנוסף
Mathreturn (שיחה | תרומות)
Mathreturn (שיחה | תרומות)
שורה 12:
|<math> -1</math> ||<math> -2</math> ||<math>-3</math> ||<math>-4</math> || <math>-5</math>
|}
* האינדקס סופר תווים ריקים!
 
 
האינדקס סופר תווים ריקים!
ניתן להשתמש באינדקס עבור רשימות : <math>names=['Alex', 'Dani','Yossi', 8]</math>
 
{| bgcolor="#ccccff" align="center" border="2" cellpadding="3"
|-
| <math>Alex</math> || <math>Dani</math>|| <math>Yossi</math>
|-
|<math> 2</math> || <math>1</math> || <math>0</math>
|-
|<math> -1</math> ||<math> -2</math> ||<math>-3</math>
|}
 
==שימוש באינדקס==