# Character = :(

var1 = "Z-Digital"
var2 = "Software testing"

print("var1[0] will be: ", var1[0])
print(var2[2:6])

# [] - slice
# [:] - range slice

x = "Guru"
print("g" not in x)

prefix = "Z"
name = "Digital"
number = 2016

print('%s-%s was born in %d' % (prefix, name, number))

oldstring = "I like Z-Digital"
newstring = oldstring.replace("like", "love")
print(newstring)

test_data = "this IS z-digital"

print(test_data.upper())
print(test_data.lower())
print(test_data.capitalize())

# JOIN
print(":".join("Python"))

# REVERSED
string = "12345"
# BAD WAY
string_reverse = reversed(string)
# NICE WAY
print("".join(reversed(string)))

word = "Z-Digital Group provides you a great career"
print(word.split(" "))
print(word.split("i"))

# IMMUTABLE
x = "Z-Digital"
x = x.replace("Z-Digital", "Python")
print(x)

189c1a8631aaddbd0fc22d0efcc764a18c255231
<mask token>

<mask token>
print('var1[0] will be: ', var1[0])
print(var2[2:6])
<mask token>
print('g' not in x)
<mask token>
print('%s-%s was born in %d' % (prefix, name, number))
<mask token>
print(newstring)
<mask token>
print(test_data.upper())
print(test_data.lower())
print(test_data.capitalize())
print(':'.join('Python'))
<mask token>
print(''.join(reversed(string)))
<mask token>
print(word.split(' '))
print(word.split('i'))
<mask token>
print(x)

var1 = 'Z-Digital'
var2 = 'Software testing'
print('var1[0] will be: ', var1[0])
print(var2[2:6])
x = 'Guru'
print('g' not in x)
prefix = 'Z'
name = 'Digital'
number = 2016
print('%s-%s was born in %d' % (prefix, name, number))
oldstring = 'I like Z-Digital'
newstring = oldstring.replace('like', 'love')
print(newstring)
test_data = 'this IS z-digital'
print(test_data.upper())
print(test_data.lower())
print(test_data.capitalize())
print(':'.join('Python'))
string = '12345'
string_reverse = reversed(string)
print(''.join(reversed(string)))
word = 'Z-Digital Group provides you a great career'
print(word.split(' '))
print(word.split('i'))
x = 'Z-Digital'
x = x.replace('Z-Digital', 'Python')
print(x)

# Character = :(

var1 = "Z-Digital"
var2 = "Software testing"

print("var1[0] will be: ", var1[0])
print(var2[2:6])

# [] - slice
# [:] - range slice

x = "Guru"
print("g" not in x)

prefix = "Z"
name = "Digital"
number = 2016

print('%s-%s was born in %d' % (prefix, name, number))

oldstring = "I like Z-Digital"
newstring = oldstring.replace("like", "love")
print(newstring)

test_data = "this IS z-digital"

print(test_data.upper())
print(test_data.lower())
print(test_data.capitalize())

# JOIN
print(":".join("Python"))

# REVERSED
string = "12345"
# BAD WAY
string_reverse = reversed(string)
# NICE WAY
print("".join(reversed(string)))

word = "Z-Digital Group provides you a great career"
print(word.split(" "))
print(word.split("i"))

# IMMUTABLE
x = "Z-Digital"
x = x.replace("Z-Digital", "Python")
print(x)
