What are the two main platforms to write Python code?

Programming II - Python Basics

Flashcard
•
Computers
•
University
•
Medium
Steffan Limon
Used 1+ times
FREE Resource
Student preview

52 questions
Show all answers
1.
FLASHCARD QUESTION
Front
Back
Jupyter Notebook and Google Colab.
2.
FLASHCARD QUESTION
Front
How do you access Google Drive in Google Colab?
Back
Use the commands: from google.colab import drive, drive.mount('/content/drive'), and %cd /content/drive/MyDrive/.
3.
FLASHCARD QUESTION
Front
What are the basic data types in Python?
Back
int, float, str, bool.
4.
FLASHCARD QUESTION
Front
What does the 'int' data type represent?
Back
Whole numbers.
5.
FLASHCARD QUESTION
Front
How do you create a variable in Python?
Back
Use the syntax: variable_name = value.
6.
FLASHCARD QUESTION
Front
What are the good naming rules for variables in Python?
Back
Don’t start with a number, no spaces, use underscores instead, avoid reserved words, and use clear names.
7.
FLASHCARD QUESTION
Front
What is the result of 'print(a + b)' if a = 10 and b = 3?
Back
It prints 13.
Create a free account and access millions of resources
Similar Resources on Quizizz
42 questions
CompSci1 2024 Fall Review

Flashcard
•
11th Grade
36 questions
python functions

Flashcard
•
12th Grade
48 questions
Python 3 Review Part 1

Flashcard
•
9th - 12th Grade
48 questions
Python Review

Flashcard
•
University
50 questions
Python Module 1 Flashcard

Flashcard
•
12th Grade
39 questions
Python Semester 2 flashcard -1

Flashcard
•
12th Grade
45 questions
AP CSP Vocabulary Midterm

Flashcard
•
11th Grade
50 questions
Principles of Programming Languages

Flashcard
•
University
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade