Python Basics Quiz: Can You Code the Fundamentals?

Check your Python fundamentals with this beginner-friendly quiz covering syntax, variables, loops, functions, data types, and essential programming logic.

Feb 4, 2026 - 12:23
 0  2.7k

1. Who created the "Python" programming language?

Guido Van Rossum
Dennis Ritchie
James Gosling
Bjarne Stroustrup

2. Which keyword is used to define a function in Python?

func
define
def
lambda

3. Which data type stores ordered, changeable data in python?

Tuple
List
Set
Dictionary

4. Which symbol is used to start a comment in Python?

//
/*
#
--

5. Which file extension is used for Python scripts?

.java
.exe
.cpp
.py

What's Your Reaction?

Like Like 1
Dislike Dislike 0
Love Love 0
Funny Funny 0
Angry Angry 0
Sad Sad 0
Wow Wow 0
ANAND SWAMI Senior Content Manager