Home > other >  Novice ', scripting environment Python3.7 newline
Novice ', scripting environment Python3.7 newline

Time:10-19

Online to find the Python line problem for a long time, with "" or \ "n"
So I tried it out
A figure with the first is "\ n", return an error after
Then use the "", but in the input of the second "", return an error after

Finally found shift + enter to achieve, a new line as shown in figure 2 write circle area computation

CodePudding user response:

Next pycharm software more convenient

CodePudding user response:

Interactive calculation result is a new line, you can't the new file

CodePudding user response:

With three single quotes
"' content
Content
Content
Content
Content
Content "'

CodePudding user response:

1/f, reference database oraclemysql reply:
next pycharm software more convenient

Well, are already using pycharm

CodePudding user response:

The
reference 3 floor qq_39622964 response:

in three single quotation marks"' content
Content
Content
Content
Content
Content "'

This only with a single line of code... If you want to play a few more different code error

CodePudding user response:

refer to the second floor JMZL response:
interactive newline is calculated as a result, can't you new file

Yes , afterwards just know this is interactive environment
  • Related