11 Advanced Python Tips

Advanced Python tips to keep in mind.

Yancy Dennis
Python in Plain English
4 min readJan 26, 2022

--

TIP 1

If you want to print multiple values with a user-defined separator, then you the sep parameter.

str1 = 'username'
str2 = 'yourwebsite.com'
print(str1, str2, sep = '@')
# Output: username@yourwebsite.com
Picture taken from Microsoft Word Online Images

TIP 2

--

--