Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

How to write a Unicode string in Python?

Answer Posted / nashiinformaticssolutions

In Python 3, strings are Unicode by default. You can write Unicode characters directly in a string or use escape sequences like `u` or `U` for Unicode code points.
Example:
```python
unicode_string = "Hello, !"

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is anaconda the same as python?

867


What is the output of print str[4: ] if str = ‘ python language’?

921


What are mixins in python?

873


What does the break keyword refer to in python?

855


How will you get a 10 digit zero-padded number from an original number?

890


What is python good for?

988


Explain about assertions in python?

1040


Where will you use while rather than for?

1222


What does making the cpython different from python?

979


Whenever python exits, why isn’t all the memory de-allocated?

965


What does the ‘yield’ keyword do?

854


How to find the index of an item given a list containing it in python?

876


What is meant by mutex in python?

1088


Tell me what is the command to debug a python program?

986


What is memory management in python?

864