String can be expressed in several ways : String Declaration : String PYTHON examples


PYTHON examples » String » String Declaration »

 

String can be expressed in several ways


String can be expressed in several ways: enclosed in single quotes or double quotes
 

 

print 'spam eggs'

print 'doesn't'

print "doesn't"

print '"Yes," he said.'

print ""Yes," he said."

print '"Isn't," she said.'

           
         
  



Leave a Comment / Note


 
Verification is used to prevent unwanted posts (spam). .


PYTHON examples

 Navioo String
» String Declaration


Warning: Unknown: write failed: No space left on device (28) in Unknown on line 0

Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/var/lib/php/session) in Unknown on line 0