Home
Skill Test
Program Languages
Java
php
Python
Pyspoke
Database Management
Sql
Oracle
snowflex
NoSQL
UI/UX Design
Html
Css
Angular
React
App Development
Android
Flutter
Framework7
Xamarin
interview questions
Programe Languages
Java
PHP
Python
Pyspoke
Database Management
Sql
Oracle
snowflex
NoSQL
UI/UX Design
Html
Css
Angular
React
App Development
Android
Flutter
Framework7
Xamarin
Job Post
 
Employer Login
 
Candidates login
Call us
123 456 7890
329 Queensberry Street, North Melbourne VIC
3051, Australia.
support@superio.com
Employer Login /
 
Candidates login
Program Languages
Python
python Home
Python Quiz
Time Left:
30:00
Total Questions:
Question 1
1. Which of the following is used to output text in Python?
echo
printf()
print()
cout
2. Which of the following is a valid variable name in Python?
2value
value_2
value-2
value 2
3. What is the output of type(5) in Python?
<class 'float'>
<class 'int'>
<class 'number'>
<class 'integer'>
4. Which symbol is used to start a comment in Python?
//
#
/*
<!--
5. What is the correct file extension for Python files?
.pyth
.pt
.py
.p
6. Which of these data types is immutable in Python?
list
dictionary
tuple
set
7. What is the output of 3 ** 2 in Python?
5
6
9
8
8. Which of the following is used to define a function in Python?
define
def
func
function
9. Which keyword is used to handle exceptions in Python?
try
catch
throw
except
10. What is the output of len("Python")?
5
6
7
8
Previous
Next
Submit Quiz
© 2021 Superio. All Right Reserved.