斯威夫特is one of the topmost type-safe languages nowadays. Ohhh wait!! What does it mean if a language is type-safe? A type-safe language always ensures that an operation works with the right kind of data available at that point.✓ If a language has the ability to declare different data types (e.g., Int, Float, String, Array, Dictionary) and it has also…