var1 = "Strings in Python"
var2 = 'Strings in python'
var3 = '''
Multiline
string in
Python'''
print(var1)
print(var2)
print(var3)
Escaping (\)
ToΒ
insertΒ
charactersΒ
thatΒ
areΒ
notΒ
allowedΒ
andΒ
raiseΒ
anΒ
errorΒ
inΒ
aΒ
string,Β
weΒ
useΒ
anΒ
escapeΒ
character.
AnΒ
escapeΒ
characterΒ
isΒ
aΒ
backslashΒ
\
Β
followedΒ
byΒ
theΒ
characterΒ
thatΒ
isΒ
toΒ
beΒ
inserted.Β
PythonΒ
ignoresΒ
theΒ
characterΒ
afterΒ
it.
print("Best programming language is "Python".")
print("Best programming language is \"Python\".")
New line (\n)
ToΒ
breakΒ
theΒ
stringΒ
toΒ
aΒ
newΒ
line,Β
weΒ
useΒ
\n
Β
beforeΒ
theΒ
characterΒ
fromΒ
whereΒ
weΒ
wantΒ
toΒ
breakΒ
theΒ
string.
print("Hello\nWorld")
Tab space (\t)
ToΒ
giveΒ
4Β
spacesΒ
orΒ
aΒ
tabΒ
afterΒ
aΒ
word,Β
weΒ
useΒ
\t
.
print("Hello Hi \t World")
Concatenation
JoinsΒ
twoΒ
orΒ
moreΒ
stringsΒ
together.
TheΒ
+Β
operatorΒ
isΒ
usedΒ
toΒ
concatenateΒ
2Β
orΒ
moreΒ
strings.
a = "Hello"
b = "World"
c = a + b
print(c)
String Repetition
TheΒ
repetitionΒ
operatorΒ
isΒ
denotedΒ
byΒ
aΒ
'*'
Β
symbolΒ
andΒ
isΒ
usedΒ
toΒ
repeatΒ
strings.
YouΒ
canΒ
multiplyΒ
aΒ
stringΒ
withΒ
anΒ
integer,Β
andΒ
itΒ
willΒ
beΒ
repeatedΒ
thatΒ
manyΒ
times.
str = "Python"
print(str*3)
Sign In
You will receive an OTP for verification purposes.
Our Result
Sanatan is our in-house coding prodigy who ranked as a Top 2 finalist in Googleβs Code-In competition (now defunct). Heβs a great example of how starting early in your coding journey can be so empowering that you can even find yourself tackling challenges at tech giants like Google!
What the world says about Tekie
βWhile most competing platforms are teaching students block-based programming, Tekie is attempting to teach young students the fundamentals of text-based programming, which is to write actual coding language syntax.β
The founder elaborates, βWe came up with the idea of animation because that helps bring imagination to reality. We also wanted to make learning interesting and engaging.β
Parents trust us.
The best learning happens when you are not learning, you are playing and enjoying. For Medha, learning has been a pleasant glide, thanks to a warm and interpersonal method of teaching; it's like she is learning from a friend who knows her! She loves the puzzles and other methods used- both experimental and classic.