Skip to content
← Back to Community
How do you add spaces in python?
Profile icon
srirammanikanda

I need help with spaces in python.

Voters
Profile icon
KevinZhang91
Profile icon
HamzaAlhelali
Profile icon
AbagailCadman
Profile icon
HarryWoolhouse
Profile icon
12-7b-Mohammad
Profile icon
firefish
Profile icon
srirammanikanda
Comments
hotnewtop
Profile icon
[deleted]

Well, with that you can say

print("Hello World")
print()
print("Hi, World")

Profile icon
[deleted]

or you can just use \n to create a new line(skip a line).

Profile icon
Kognise

Hey! Just press the space key on your keyboard :)

UPVOTE AND PRESS THE CHECK BOX TO ACCEPT MY ANSWER IF YOU LIKE CUTE ANIMALS

EDIT: THANKS FOR THE UPVOTE

Profile icon
rediar

@Kognise wow this genius fix works

Profile icon
Kognise

@rediar THANKS! MAKE SURE TO UPVOTE IF YOU HAVEN'T ALREADY

Profile icon
rediar
Profile icon
firefish

@Kognise Stop leaving Caps Lock on guys...

Profile icon
CodingCactus

what do you mean by 'spaces'? just use a normal space?

Profile icon
[deleted]

@srirammanikanda thanks for choosing my answer. :)

Profile icon
[deleted]

Yo, next time, be more clear with your question.
The community welcomes you :)

Profile icon
srirammanikanda

@Twitchmmanikan Ok. Sorry for the poor clarity of the question.

Profile icon
ChezTacoz

What do you mean by spaces? Like the spaces between words?

Profile icon
[deleted]

you mean to skip a line?

Profile icon
SabeeqZahid

somebody help me
how do i gave 3letter space in every line