Sitemap
A beginner’s python notes

在Coursera上學習Python for Everybody Specialization (py4e) 的歷程筆記

print (end='')

--

the end=' ' part will place a space after the displayed string instead of a newline.

Get 烏龜喵’s stories in your inbox

Join Medium for free to get updates from this writer.

myjob= 'hacker'
for c in myjob: print (c, end='')
#output
h a c k e r

--

--

A beginner’s python notes
A beginner’s python notes

Published in A beginner’s python notes

在Coursera上學習Python for Everybody Specialization (py4e) 的歷程筆記