What does the double quotation marks mean in python?

1 answer

Answer

1102625

2026-08-04 04:15

+ Follow

In Python, double quotation marks are used to define string literals. They allow you to create a sequence of characters, which can include letters, numbers, and symbols. You can use either double (") or single (') quotation marks interchangeably, but using one type allows you to include the other type within the string without needing to escape it. For example, "Hello, world!" and 'Hello, "world"!' are both valid strings.

ReportLike(0ShareFavorite

Copyright © 2026 eLLeNow.com All Rights Reserved.