简体   繁体   中英

how do I use the next line in the terminal?

how do I use the next line the the terminal on mac os,

for example when I'm using a for loop with many lines:

>>> for i in range(9)
>>>

when I use the enter button it executes the command and returns a styrax error.

I need it to be something like this:

>>> for i in range(9)
...  

I searched about it but couldn't find the answer to it, (I'm new to using the terminal)

You are missing a colon.

>>> for i in range(9):

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM