diff --git a/4-loops/.DS_Store b/4-loops/.DS_Store new file mode 100644 index 0000000..8687ab6 Binary files /dev/null and b/4-loops/.DS_Store differ diff --git a/4-loops/fizzbuzz/.DS_Store b/4-loops/fizzbuzz/.DS_Store new file mode 100644 index 0000000..c2079f4 Binary files /dev/null and b/4-loops/fizzbuzz/.DS_Store differ diff --git "a/4-loops/fizzbuzz/FizzBuzz\302\240\342\200\224 1.swift" "b/4-loops/fizzbuzz/FizzBuzz\302\240\342\200\224 1.swift" new file mode 100644 index 0000000..305ce25 --- /dev/null +++ "b/4-loops/fizzbuzz/FizzBuzz\302\240\342\200\224 1.swift" @@ -0,0 +1,6 @@ +// Fizz Buzz 🐝 +// Buhaev Yauheni + +for i in 1...100{ + (i % 3 == 0 && i % 5 == 0) ? print("FizzBuzz") : i%5 == 0 ? print("Buzz") : i%3 == 0 ? print("Fizz") : print(i) +}