+ 1
Am i doing something wrong or is this task bugged ?
I'm working on a task in Python that asks me to add newlines. I've wrote two solutions , one using \n and one using quotes ; print('A \nB \nC \nD') print("""A B C D""") Any and all inputs will be greatly appreciated.
16 Answers
+ 3
Кирилл Чернятин
You just need to write 2nd option
print ("""ABCD""")
new line will be automatically apply
+ 2
String format, very versatile for complicated print structures.
Let me send you a solution from earlier in the tutorial
print('A\nB\nC\nD')
+ 2
Кирилл Чернятин
call outs: put @ in front of name of user.
Works for people you follow and others involved in discussion
+ 2
Кирилл Чернятин Just be aware that cr** is considered a swear word by some cultures and may be censored by mods.
Happy learning, enjoy the journey
+ 2
Rik Wittkopp
Oh , goodness gracious me. Thank you for information , Rik , i appreciate it and will be more careful ! :).
I'm neither joking nor sarcastic.
+ 2
🖐😁👍
+ 2
✨🔥Parneet Kaur🔥✨
Interesting ! Thank you for information ! :).
+ 1
Crapbaskets.
Thank you , AJ ! Have a wonderful day ! :D.
+ 1
Кирилл Чернятин
My suggestion:
print(f'A\nB\nC\nD')
+ 1
What does "f" do ? I hadn't covered it yet.
+ 1
I Am AJ !
I don't understand your concept, and can't get it to work.
Am I missing something?
+ 1
It worked for me. Interesting.
+ 1
Thank you for information , and I'll greatly appreciate that !
How do you make call outs ? Or write names when you're referring to other users ? I thought that it was impossible.
+ 1
Rik Wittkopp
Holy crap ! Thank you for information , Rik ! :D.
- 2
Hello everyone i am python bigginer and i need help
Calculate tip of bill
125 and 268
Pls give me codes......😢