Untitled
unknown
plain_text
a year ago
381 B
17
Indexable
#homework solution
student = 80
if student >50 :
print('Success')
else :
print('Unsuccess')
# lists
names = ['asser','martin','nour']
print(names[1])
#print all list names
names = ['ahmed','mohmmed','omar','ehab']
for i in range(4):
print(names[i])
#HOMEWORK - CREATE A LIST THAT CONTAINS 6 NAMES AND PRINT ONLY 3 NAMES USING INDEX (INDECES)Editor is loading...
Leave a Comment