Friday, August 25, 2017

Python Progarm-String

We can work with strings also in Python.
The common syntax is:
print("Hey! This is Bhatta's Python Hub");

Every Students have the problem with single quotation (') and double quotation (").
For example:
print('Hey it's Python hub'); try this
This will detect  highlighted part only as a string.


I hope you are clear from these examples. You should try yourselves to learn more!!

No comments:

Post a Comment