Write a While loop

 Problem

I want to write a While loop.



 Recipe


// Creating our loop

var x = 0

// Count from 0 to 9

while x<10 {
    print(x)
    x++
}
				


 Playground