Back to Templates
technologymedium

Python Programming Basics

Variables, data types, loops, and functions in Python.

3 questions Grade College
Pythonprogrammingcoding

Sample Questions

Q1

Which keyword is used to define a function in Python?

function
func
def
define
Q2

What data type is the value True?

String
Integer
Float
Boolean
Q3

Python uses indentation to define code blocks.

True
False