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
20 questions
Conocimientos básicos de Python

Flashcard
•
University
17 questions
Java Basics

Flashcard
•
12th Grade
15 questions
Python if statement

Flashcard
•
University
15 questions
Python if statement

Flashcard
•
University
14 questions
Основы LINQ

Flashcard
•
KG - University
20 questions
python flashcard

Flashcard
•
12th Grade
15 questions
ARRAYLIST - JAVA

Flashcard
•
University
20 questions
Conocimientos básicos de Python

Flashcard
•
University
Popular Resources on Wayground
15 questions
Hersheys' Travels Quiz (AM)

Quiz
•
6th - 8th Grade
20 questions
PBIS-HGMS

Quiz
•
6th - 8th Grade
30 questions
Lufkin Road Middle School Student Handbook & Policies Assessment

Quiz
•
7th Grade
20 questions
Multiplication Facts

Quiz
•
3rd Grade
17 questions
MIXED Factoring Review

Quiz
•
KG - University
10 questions
Laws of Exponents

Quiz
•
9th Grade
10 questions
Characterization

Quiz
•
3rd - 7th Grade
10 questions
Multiply Fractions

Quiz
•
6th Grade