python tutorial 2: escape codes and variables

Publié le: 13 mai 2017
sur la chaîne: Alexander Patrushin
292
6

My second python tutorial for beginners.



Escape codes:

\a 0x07 Bell or alert
\b 0x08 Backspace
\cx Control-x
\C-x Control-x
\e 0x1b Escape
\f 0x0c Form feed
\M-\C-x Meta control-x
\n 0x0a New line
\nnn Octal notation
\r 0x0d Carriage return
\s 0x20 Space
\t 0x09 Tab
\v 0x0b Vertical tab
\x Character x
\xnn Hexadecimal notation



Homework:

Make a program that will spam a quote 10 times.



next: How to get user input & how to include more than one variable in a print statement


Sur cette page du site, vous pouvez voir la vidéo en ligne python tutorial 2: escape codes and variables durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur Alexander Patrushin 13 mai 2017, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 292 fois et il a aimé 6 téléspectateurs. Bon visionnage!