Closure containing control flow statement cannot be used with result builder 'ViewBuilder'
below was the code
let feet = 9 let inch = 45
var body: some View {
VStack{
for number in 1...10 {
print(number)
}
}