Quiz 2.2: Programming Fundamentals
In Python, how can you convert a string variable num_str to an integer?
What is the purpose of the input() function in Python?
What does the len() function in Python do when applied to a string?
What is a parameter in the context of a Python function?
Which of the following statements is an example of a selection structure?
What is the primary purpose of the while loop in programming?
What is a list in Python?
Which data type is used to store a sequence of characters in Python?
Which of the following methods is used to add an element to the end of a Python list?
What is the result of the expression print("5 + 3") in Python?