Toggle navigation
Create account
Sign in
Create flashcards
Courses
Python - Formatting codes & escape characters
Python - Formatting codes & escape characters
0
32 flashcards
sir
start learning
download mp3
×
Perfect for auditory learners
–
Turn your words in an audiocourse and learn:
while riding on the bus or in a car
walking the dog
waiting in line
before bedtime
This function is only available for premium users.
activate a premium account
sample recording
print
×
Perfect outside
–
Print your words:
as a handy list
as flashcards to be cut out
This function is only available for premium users.
activate a premium account
an example of a printout
play
test yourself
Question
Answer
Left aligns the result (within the available space)
start learning
:<
Right aligns the result (within the available space)
start learning
:>
Center aligns the result (within the available space)
start learning
:^
Places the sign to the left most position
start learning
:=
Use a plus sign to indicate if the result is positive or negative
start learning
:+
Use a minus sign for negative values only
start learning
:-
Use a space to insert an extra space before positive numbers (and a minus sign befor negative numbers)
start learning
:
Use a comma as a thousand separator
start learning
:,
Use a underscore as a thousand separator
start learning
:_
Binary format
start learning
:b
Converts the value into the corresponding unicode character
start learning
:c
Decimal format
start learning
:d
Scientific format, with a lower case e
start learning
:e
Scientific format, with an upper case E
start learning
:E
Fix point number format
start learning
:f
Fix point number format, in uppercase format (show inf and nan as INF and NAN)
start learning
:F
General format
start learning
:g
General format (using a upper case E for scientific notations)
start learning
:G
Octal format
start learning
:o
Hex format, lower case
start learning
:x
Hex format, upper case
start learning
:X
Number format
start learning
:n
Percentage format
start learning
:%
Old formatting codes:
start learning
%s, %d, %r, %a
%r -^ repr(); %a -^ repr() in Ascii
Alert
start learning
\a
Backspace
start learning
\b
Female symbol
start learning
\f
Male symbol
start learning
\v
Newline
start learning
\n
Tab
start learning
\t
Escape to hexadecimal notation
start learning
\xnn
Octal notation
start learning
\nnn
Create flashcards
English
You must sign in to write a comment
×
Main
Progress bar
Clock
Enforce good response
Content
Text
Example text
images
Recordings
Example recordings
recordings native
Grammar highlighting
Retyping options
ignore:
spaces
diacritics
brackets
punctuation
capital letters
no article
combine shortcuts
order
report an error
Thank you for reporting :)
1
2
3
4
check
next
I'm right ↑
(
Tip:
Pressing
enter
considers the answer to be
wrong
Tip2:
in order to see the question again, click on the notepad )
revise
I knew it
show answer
check
next
I'm right ↑
(
Tip:
Pressing
enter
considers the answer to be
wrong
Tip2:
in order to see the question again, click on the notepad )
Well done, you're doing fine:)
The creator of these flashcards is Sir.
Click here to create your own download :)
If you prefer ready, try out our professional courses.
British slang
try it for free
Phrasal Verbs
try it for free
Repeat all
Repeat difficult flashcards
End of round
1
Summary
round
I knew it
revise
1
(
)
(
)
Next round
revise what you didn't know
`
1
2
3
4
5
6
7
8
9
0
-
=
Nederlands, Vlaams
English
American English
Français
Deutsch
italiano
Norsk
język polski
português
русский язык
español
Svenska
українська мова
gjuha shqipe
العربية
euskara
беларуская мова
български език
català, valencià
中文, 汉语, 漢語
hrvatski jezik
český jazyk
dansk
Esperanto
eesti keel
føroyskt
suomen kieli
galego
ქართული
ελληνικά
עברית
हिन्दी, हिंदी
magyar
Íslenska
Bahasa Indonesia
日本語, にほんご
ಕನ್ನಡ
Қазақша
한국어, 韓國語, 조선어, 朝鮮語
latine
latviešu valoda
lietuvių kalba
Lëtzebuergesch
македонски јазик
bahasa Melayu, بهاس ملايو
Malti
Papiamento
فارسی
Português brasileiro
limba română
rumantsch grischun
Gàidhlig
српски језик
slovenský jazyk
slovenski jezik
ไทย
Xitsonga
Setswana
Türkçe
اردو
Tiếng Việt
isiXhosa
ייִדיש
isiZulu
q
w
e
r
t
y
u
i
o
p
[
]
\
a
s
d
f
g
h
j
k
l
;
'
z
x
c
v
b
n
m
,
.
/
Ctrl + Alt
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
×
Select the correct answer
create a new test
×
Pair all the words as quickly as possible!
0
steps
New game:
4x3
5x4
6x5
7x6
×
Log in
Log in
Sign in
Login or Email
Password
Sign in
Forgot your password?
Don't have an account?
Log in
Log in
Create account
Get Started with this Free Course!
No Cost. No Obligation. No Spam.
Your email address
Create account
Already have an account?
I accept the
terms
and
privacy policy