Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Summary

Summary Basic python for beginners

Rating
-
Sold
-
Pages
2
Uploaded on
02-03-2023
Written in
2022/2023

This is basic python summery to understand and start python and learn. It will help you in very easy way to know about python

Institution
Course

Content preview

Comments, Escape Sequences & Print Statement | Python
Tutorial - Day #5
We 'll learn Escape Sequence Character & Print Statement in this video. Python interpreter
tries to execute text in Python or any other programming language. Sometimes we want to
have text in the program that does not execute. Python will say "OK! If you need a new line. . .
. . . . . . So you must use Escape Sequence. Character. Comments means "You can add
whatever text you want and I do n't have any business with that'' Python says "Just add a
character like this and this text will become a comment '' What will it become ? A comment ''
If you mark a line as a comment. . . Look , Replit is doing syntax highlighting first , for you. A
comment is a part of the coding file that the programmer does not want to execute Rather
the programmer uses it to either explain a block of code or to avoid the execution of a
specific part of code while testing. The 100 Days Of Code course is the 100 Days of Code
course.

Written the same thing here with example You do n't even need to write the code Just copy
this from here , paste it in your computer and run this And when you 'll do this so look You
wo n't see the error `` this is the single line comment '' Now I 've given an example here you
can also write a comment after a line of code For eg. If you 've written something like this I
'm pasting it. . . . And I 'll tweak it like this. In Replit all the shortcuts of VScode works so
there 's no need for you to be worried. If you want to move the line you should also learn this
shortcut. I 've added Triple double-quote ( `` '' '' '''''' '' '' " " -- " " "") to move a line in a string. An
escape sequence character is a backslash \ followed by the character you want to insert. An
Escape Sequence Character ' ( back-slash ) n ' is a new line character. so it wo n't be able to
parse it That 's why we add new line. character '\ ' + 'n ' they may seem different character
But they are one This is called Escape Sequence. Character ' \ '' ' which produces a single
Double-quote ( `` ) in output.

If I add a single quote in single-quoted string I 've to add 'single-quote' so single-quote will
appear. The Escape Sequence Character character is called separator. After this there 's
another parameter `` end= '' in place of `` end-= '' So what does it mean ? It means if I write
next 'print ' statement And in that statement suppose I write `` print ( `` Harry '' ) And if I run it.
. . So look. You can write anything here and it 'll be printed 'By-default ' is a new line' The

Written for

Institution
Course

Document information

Uploaded on
March 2, 2023
Number of pages
2
Written in
2022/2023
Type
SUMMARY

Subjects

$8.49
Get access to the full document:

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Get to know the seller
Seller avatar
nishantpatil

Get to know the seller

Seller avatar
nishantpatil TH WAJEKAR phunde
Follow You need to be logged in order to follow users or courses
Sold
-
Member since
3 year
Number of followers
0
Documents
6
Last sold
-

0.0

0 reviews

5
0
4
0
3
0
2
0
1
0

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions