0
Fix the given code to output I'm a programmer. Hint Escape the single quote inside the string.
I find this very complicated. I want a solution to this issue.
8 Respuestas
+ 5
/ is not backslash character, its division operator.
\ is backslash character.
+ 5
\'
Example:
print('Hello \'World \'')
Output:
Hello 'World'
+ 2
Attempts?
+ 1
What did you try? So we can give you tips, just giving you the solution wont make you better
+ 1
Thanks for you guys
0
I've tried a lot like
Print ("I/'m a programmer")
Print ("I' /'m a programmer")
I really don't understand how to use a backslash
0
\'
Example:
print('Hello \'World \'')
Output:
Hello 'World'
- 5
print("I'm a programmer")