HI
I haven't coded in a long time and I don't know how to use CodeX and now I can't move on from here, I don't know how to put the code in the right place in the code. :(
import SwiftUI struct ContentView: View { var body: some View { VStack { Image(systemName: "globe") .imageScale(.large) .foregroundStyle(.tint) Text("Hello, world!") } .padding() } } #Preview { ContentView() } let range01INT1 = 100000 ... 199999 print("Range:",range01INT1,"Number of numbers", range01INT1.count)
Print command give me a error
let range01INT1 = 100000 ... 199999 print("Range:",range01INT1,"Number of numbers", range01INT1.count)
Expressions are not allowed at the top level
I know it's a stupid question, but I just can't get started.