diff --git a/lyan0D/f8ASHf.swift b/lyan0D/f8ASHf.swift new file mode 100644 index 0000000..84a681b --- /dev/null +++ b/lyan0D/f8ASHf.swift @@ -0,0 +1,7 @@ +var sum = 0 + +for i in 1...10 { + sum += i +} + +print("The sum of the first 10 natural numbers is: \(sum)")