string variations – CSKC
Sign In

Search

Code Learning #PYTHON#8177    siteicon   siteicon  

string variations

Python allows you to define the literal form of strings in either single quote (‘) or double quote (“”). Both have similar meaning. We are also allowed to give triple single quotes (”’) for string literals which can be run into many lines. 

 

Source Code

TC++ #8177

Source Code

×

Ask AI About This Code

Default Prompt that is passed along with the code is given below, You can write your own prompt if you so desire.



×

Test Python


Share

Created: 11-Apr-2026 19:44 | Updated: 24-Aug-2026 15:54|