#week 3 __  day16 
#Create a Tuple in  python :
thistuple =("ahmed","fahad","nowaf","naif")
print(thistuple)
thistuple1=()
print(thistuple1)
thistuple1=(4)
print(thistuple1)
thistuple2 =(20,33,15,15.2,40)
print(thistuple2)
print(thistuple2[2])
for x in thistuple2:
    print(x)

##################################
thistuple3 =("ahmed","fahad","nowaf","naif")
#thistuple3[2]="yasser"
#del thistuple3
print(thistuple3) # tuple doesn't exeist when we execute the commend delthistuple3
#**********************************
thistuple3 =("ahmed","fahad","nowaf","naif")
print(thistuple3[0:3])

# لاتنسى لايمكنك اضافة عنصر لل tuple  وكذلك لايمكنك الحذف منه 