//let albom =" name of the song is "
//let song =  2  //hikayatte 
//let songofalbom = albom + string( song )

//print(" songofalbom ") 

//var fruits = ["Apple", "Banana", "Orange"]
//fruits.append("Kiwi")
//print(fruits)

//var fruits = ["Apple", "Banana", "Orange"]
//fruits.remove(at: 0)
//fruits.append("Kiwi")
//print(fruits[1])

//var text = "Hello"
//text.removeAll()
//print(text)

//let individualScores = [75, 43, 103, 87, 12]

//var teamScore = 2

//for score in individualScores {
   // if score > 50 {
       // teamScore += 3
   // } else {
   //     teamScore += 1
//    }
//}

//print(teamScore)

//let StudentGrades = [65, 20, 90,45,80,35]
//var TotalPoints = 0

//for grades  in StudentGrades  {
  //  if  grades  > 60 {
     //    TotalPoints += 5
  //  }
 //   else {
     //    TotalPoints += 2
  //  }
//}

/* définir un dictionnaire
   eg. nom_employé : fonction */

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: