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.