Home / MCQ Bank / Computer
Computer Conditional Formatting (While And For Loops) Difficulty: Medium

What is the purpose of the else clause in a loop?

Select the correct option to test your answer:

More Computer Questions

What will be the output of the following Python code? t = '%(a)s, %(b)s, %(c)s' t % dict(a='hello', b='world', c='universe') What function is used to create a new variable in a dplyr data frame based on existing variables? What happens if the destructor is explicitly defined in a C++ class, but the constructor is not defined? What is the output of the given code? print "what's your first name?" first_name=gets.chomp a=first_name.capitalize "first_name.capitalize!".reverse puts"My name is #{first_name}" In Java Networking, which class is used for creating a UDP socket?