
VannKit Python: Comments (lesson 1)
Presentation
•
Computers
•
4th Grade - University
•
Easy
Fabian Manning
Used 3+ times
FREE Resource
4 Slides • 7 Questions
1
Comments
Comments are statements which you want the computer to ignore.
Note:
The computer reads a program line by line. So when it reaches a line starting with a comment, it will skip that line.
Some text here about the topic of discussion
2
Comments
Comments are identified two ways:
1) Using the hash symbol............... #
2) Using three single quotes before and after the string......
'''...''' (three single quotations) or
"""...""" (three double quotations)
Some text here about the topic of discussion
3
Comments: Using the hash symbol............... #
U
Some text here about the topic of discussion
4
Comments:
Using three single quotes before and after the string...... ''' '''
Some text here about the topic of discussion
5
Multiple Choice
Comments are identified using
#
Hash
''' '''
three single quotes
All of the above
6
Multiple Choice
When the computer is reading programe, when it reaches a line with a comment symbol, what does it do?
Print the comment information
Ignore the comment line and go to the next line
It does nothing
It starts over
7
Multiple Choice
How do you insert COMMENTS in Python code?
/*This is a comment*/
//This is a comment
#This is a comment
8
Multiple Choice
a # in Python means the user is trying to...
hashtag
ratio
comment
tic-tac-toe
9
Multiple Select
How To Write Comment on Python ?
Comments starts with a # for one line
Start and End with (triple quotes) for multiline Comments
Comments starts with a // for one line
Comments starts with a ' for one line
10
Multiple Choice
This is Sample of ?
Multi Line Comment
Single Line Comment
Number Value
String Value
11
Multiple Choice
Comments
Comments are statements which you want the computer to ignore.
Note:
The computer reads a program line by line. So when it reaches a line starting with a comment, it will skip that line.
Some text here about the topic of discussion
Show answer
Auto Play
Slide 1 / 11
SLIDE
Similar Resources on Wayground
7 questions
Unplugged Coding
Presentation
•
3rd Grade - University
10 questions
Evaluación MANIFESTACIONES ARTISTÍSTICAS
Presentation
•
KG - University
11 questions
Le verbe Etre au présent
Presentation
•
KG
8 questions
RED BULL
Presentation
•
KG - University
8 questions
Fire Fighting
Presentation
•
KG - University
10 questions
E-safety
Presentation
•
4th - 12th Grade
10 questions
Robot Works
Presentation
•
3rd Grade - University
Popular Resources on Wayground
10 questions
GPA Lesson
Presentation
•
9th - 12th Grade
7 questions
Albert Einstein
Quiz
•
3rd Grade
31 questions
Bridge A Review
Quiz
•
3rd Grade
6 questions
Blue Sue and Red Ruth
Quiz
•
3rd Grade
8 questions
(Day12 HW) Inverse Trig Ratios
Quiz
•
9th Grade
20 questions
Summer Geometry QUIZ (Week3)
Quiz
•
9th Grade
16 questions
Theme Practice
Quiz
•
7th Grade
20 questions
Taxes
Quiz
•
9th - 12th Grade
Discover more resources for Computers
10 questions
GPA Lesson
Presentation
•
9th - 12th Grade
8 questions
(Day12 HW) Inverse Trig Ratios
Quiz
•
9th Grade
20 questions
Summer Geometry QUIZ (Week3)
Quiz
•
9th Grade
16 questions
Theme Practice
Quiz
•
7th Grade
20 questions
Taxes
Quiz
•
9th - 12th Grade
16 questions
Warm Up: Basics of Geometry
Quiz
•
9th Grade
16 questions
Translations and Reflections
Quiz
•
9th - 10th Grade
54 questions
5th Grade Trivia
Quiz
•
5th Grade