가장 많이 묻는 면접 질문과 답변 & 온라인 테스트
면접 준비, 온라인 테스트, 튜토리얼, 라이브 연습을 위한 학습 플랫폼

집중 학습 경로, 모의고사, 면접 준비 콘텐츠로 실력을 키우세요.

WithoutBook은 주제별 면접 질문, 온라인 연습 테스트, 튜토리얼, 비교 가이드를 하나의 반응형 학습 공간으로 제공합니다.

Prepare Interview

Python 면접 질문과 답변

Test your skills through the online practice test: Python Quiz Online Practice Test

관련 차이점

Python vs JavaPython 2 vs Python 3

Ques 16. What is a boolean in Python?

Boolean is one of the built-in data types in Python, it mainly contains two values, which are true and false

Python bool() is the method used to convert a value to a boolean value.

도움이 되었나요? Add Comment View Comments
 

Ques 17. What are the functions in Python?

In Python, functions are defined as a block of code that is executable only when it is called. The def keyword is used to define a function in Python.

도움이 되었나요? Add Comment View Comments
 

Ques 18. Define self in Python?

In Python self is defined as an object or an instance of a class. This self is explicitly considered as the first parameter in Python. Moreover, we can also access all the methods and attributes of the classes in Python programming using self keyword.  

In the case of the init method, self refers to the newer creation of the object. Whereas in the case of other methods self refers to the object whose method was called. 

도움이 되었나요? Add Comment View Comments
 

Ques 19. How do we convert the string to lowercase?

 The lower() function is used to convert string to lowercase.

Example:

str = "WithoutBook"

print(str.lower())

Output:

withoutbook

도움이 되었나요? Add Comment View Comments
 

Ques 20. What is Try Block in python?

A block that is preceded by the try keyword is known as a try block.

Syntax:

try {

    // Statements that may cause exception

}

도움이 되었나요? Add Comment View Comments
 

Most helpful rated by users:

Copyright © 2026, WithoutBook.