Python Basisc

Flashcard
•
Computers
•
University
•
Hard
Beena Venkatesh
FREE Resource
Student preview

21 questions
Show all answers
1.
FLASHCARD QUESTION
Front
To display something on the screen, use this command:
Back
print()
2.
FLASHCARD QUESTION
Front
To display the following on screen Hello World! the following command should be used:Options: print(Hello World!), print("Hello World!"), print("Hello World" + !), print"(Hello World!)"
Back
print("Hello World!")
3.
FLASHCARD QUESTION
Front
How would you assign an integer to a variable?
Back
new_var = 4
4.
FLASHCARD QUESTION
Front
How would you print a text string?
Back
print ("Hello!")
5.
FLASHCARD QUESTION
Front
Which symbol do we use if we want to add a comment to our code? Options: @, #, *, &
Back
#
6.
FLASHCARD QUESTION
Front
To create a variable named new_var and assign it a value of 81 divided by 9, which statement would you use?
Back
new_var = 81 / 9
7.
FLASHCARD QUESTION
Front
Assign 4 to the power of 3 to the variable new_var.
Back
new_var = 4 ** 3
Create a free account and access millions of resources
Similar Resources on Wayground
16 questions
Python Basics Unit 3.1

Flashcard
•
12th Grade
14 questions
AP CS ArrayLists

Flashcard
•
12th Grade
23 questions
CSP Unit 6 Review

Flashcard
•
12th Grade
15 questions
Python modules, operators and random

Flashcard
•
University
12 questions
DAP UNIT 1 FLASHCARD

Flashcard
•
University
20 questions
Recapping

Flashcard
•
Professional Development
15 questions
Python Programming Flashcard

Flashcard
•
University
18 questions
Javascript Basics Flashcard Review

Flashcard
•
12th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)

Quiz
•
8th Grade - University
7 questions
Force and Motion

Interactive video
•
4th Grade - University
36 questions
Unit 5 Key Terms

Quiz
•
11th Grade - University
7 questions
Figurative Language: Idioms, Similes, and Metaphors

Interactive video
•
4th Grade - University
15 questions
Properties of Equality

Quiz
•
8th Grade - University
38 questions
WH - Unit 3 Exam Review*

Quiz
•
10th Grade - University
21 questions
Advise vs. Advice

Quiz
•
6th Grade - University
12 questions
Reading a ruler!

Quiz
•
9th Grade - University