• Cursos
  • Compilador de Código
  • Discutir
  • Preços
  • Teams
Menu
0

Printing string

What if I want to put character such as " \ / in string?

pythonstrings
17th Jan 2018, 4:59 PM
SwapTel
SwapTel - avatar
1 Resposta
+ 5
print("\\") #prints one '\'
17th Jan 2018, 5:04 PM
Cool Codin
Cool Codin - avatar

Costuma ter perguntas como essa?

Aprenda de maneira mais eficiente, de graça:

  • Introdução ao Python

    7.1M de alunos

  • Introdução ao Java

    4.7M de alunos

  • Introdução ao C

    1.5M alunos

  • Introdução ao HTML

    7.5M alunos

Ver todos os cursos
Quente hoje
Hi help me I am new
2 Votes
My codebits section is full of deleted codes
12 Votes
Why are there like 10 community-made lessons?
0 Votes
How do I solve all test cases for popsicles problem?https://www.sololearn.com/coach/3?ref=app
0 Votes
Why so many mathematical questions in challenges?
0 Votes
Where can I learn c#
0 Votes
Where did mess up....
1 Votes
I have an error in a problem and I don't know what the correct answer is
0 Votes
best language if i want to learn about AI
0 Votes
Question
0 Votes