+ 2

what does"n/"mean

18th Jul 2016, 10:42 AM
𝓂𝒶𝓇𝓉𝒾𝓃𝓀𝒾𝓂
𝓂𝒶𝓇𝓉𝒾𝓃𝓀𝒾𝓂 - avatar
6 Answers
+ 2
CORRECTION!!! Escape characters are introduced with backslash: \ not slash / so n/ mean n divided by (if you assigned a value to n). And you still need to write something after n e.g.: >>>n=3.0 >>>n/2.0 1.5 Now with escape character you toe or as so: \n e.g.: >>> print ("Hello\nworld!") Hello world I use python 2.7.5 on my phone but I'm pretty sure it won't change any time soon. For more on those backslashes look up Google for regular expressions (or regex).
18th Jul 2016, 8:59 PM
Chris
Chris - avatar
+ 5
"/n" Backslash is an escape sequence. n stands for new line. This means insert a new line in the text at this point.
18th Jul 2016, 12:50 PM
Svetlana Milutinović
Svetlana Milutinović - avatar
+ 2
Thank you for the correction.
18th Jul 2016, 9:08 PM
Svetlana Milutinović
Svetlana Milutinović - avatar
+ 1
kk thnks
19th Jul 2016, 5:07 AM
𝓂𝒶𝓇𝓉𝒾𝓃𝓀𝒾𝓂
𝓂𝒶𝓇𝓉𝒾𝓃𝓀𝒾𝓂 - avatar
+ 1
new line of text
21st Jul 2016, 4:29 PM
Gary M. Arellano Nava
Gary M. Arellano Nava - avatar
+ 1
it means a new line
4th May 2018, 9:03 PM
Kelvin Maringa
Kelvin Maringa - avatar