Python short course: String in Python

 1. single and double quote marks are the same.

In [1]: 'Python', "Python"
Out[1]: ('Python', 'Python')

 2. Python automatically connect sequential string into one new expression.

In [3]: 'I' ' love' ' Python'
Out[3]: 'I love Python'

Comments

Popular posts from this blog

Lab's weekly topic - week 50 2023 - Detailed explanation for encoder of U-Net

Lab's recommendation: Awesome books to learn machine learning and AI (continue updating)