Quick actions

cmd+k|ctrl+k

Navigation

Languages

Strings

Snippet info

Language

Python

Visibility

public

Author

arnob

Created

2025-08-24T23:47:32.702495Z

Updated

2025-08-24T23:47:32.702495Z

'Hi Hello 2' #string
"Hello hi" #string


print(type("Hello hi"))

username = 'coder'
password = 'secret123'
long_string = ''' 
WOW
O O
---
''' #3 strings at the beginning and at the end can be used as long strings to separate the lines. Multiple line strings

print(long_string)



first_name = 'c'
last_name = 'h'
full_name = first_name + ' ' + last_name
print (full_name)



## String Concatenation (Simply means adding Strings together)

print('hello' + 'ch') ##added two strings together


INFO