Introducing 

Prezi AI.

Your new presentation assistant.

Refine, enhance, and tailor your content, source relevant images, and edit visuals quicker than ever before.

Loading…
Transcript

Team 6 presentation

TEAM MEMBERS

team members

  • Shweta Limbhore : Escape sequences
  • Himansh Sharma: Menu based program
  • Raghav Tiwari: Integration of earlier given tasks
  • Vivek Chudhari: Declaration of multiple sentences as a string

escape sequences

Introduction

  • Escape sequence is a sequence of characters with special meaning when used inside a string or a character

  • They allow you to include special characters in a string that might otherwise be difficult to represent directly

  • Syntax: The characters need to be preceded by a backslash character (\)

Escape sequence characters in python

Commonly used escape sequences

  • \" : The Double Quote Escape Sequence

If you want to include a double quote (") within a double-quoted string, you can use the backslash to escape it.

  • \n : The New Line Escape Sequence

This sequence signals a new line, breaking the text and starting a new line wherever it's placed within a string.

  • \t : The Tab Escape Sequence

This sequence adds a horizontal tab, creating a consistent space or indentation within the text.

USAGE:

\":

\n:

\t:

Learn more about creating dynamic, engaging presentations with Prezi