Write a For loop

 Problem

I want to create a For loop.



 Recipe


// Creating our loop - C-style

for var x=0; x<10; x++ {
    print(x)
}

// Our loop - pure Swift-style

for var y in 0..<10 {
	print(y)
}
				


 Playground