From 3c8d65772f6433a07e53f9223464117ac9ba5365 Mon Sep 17 00:00:00 2001 From: Saksham Shrey Date: Mon, 26 Feb 2024 12:29:19 +0530 Subject: [PATCH] Added Range Operators in Swift --- source/_posts/swift.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/source/_posts/swift.md b/source/_posts/swift.md index b1f0963..c7abc3c 100644 --- a/source/_posts/swift.md +++ b/source/_posts/swift.md @@ -436,6 +436,19 @@ if weather == "sunny" { +### Range Operators + +```swift +a...b // numbers between a and b (including both a and b) +a..