Hi there!
I’m a newb. Looking to remove the space that occurs between the variable birth_year and the period. Here’s the code:
# print greeting print('Hello', name + "!", 'You were born in', birth_year,'.')
Here’s the program when ran:
Hello Jill! You were born in 1965 .
That pesky space between the 1965 and the ‘.’ has to go!
Thanks in advance!
submitted by /u/Suitable_Purchase_96
[link] [comments]
r/learnpython Hi there! I’m a newb. Looking to remove the space that occurs between the variable birth_year and the period. Here’s the code: # print greeting print(‘Hello’, name + “!”, ‘You were born in’, birth_year,’.’) Here’s the program when ran: Hello Jill! You were born in 1965 . That pesky space between the 1965 and the ‘.’ has to go! Thanks in advance! submitted by /u/Suitable_Purchase_96 [link] [comments]
Hi there!
I’m a newb. Looking to remove the space that occurs between the variable birth_year and the period. Here’s the code:
# print greeting print('Hello', name + "!", 'You were born in', birth_year,'.')
Here’s the program when ran:
Hello Jill! You were born in 1965 .
That pesky space between the 1965 and the ‘.’ has to go!
Thanks in advance!
submitted by /u/Suitable_Purchase_96
[link] [comments]