how to create string in python
string = "this is string"
#or
string = 'this is also string'
how to create string in python
string = "this is string"
#or
string = 'this is also string'
how to use + with strings
# + is an overloaded operater, meaning it has more than one meaning
firstStr = "This is an "
secondStr = "example."
# + can join two strings end to end
example = firstStr + secondStr
print(example)
# Output -> This is an example.
#other things you can do
other1 = firstStr + "apple"
other2 = "Stri" + "ng"
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us