Home / MCQ Bank / Computer
Computer Functions In Python Difficulty: Medium

What will be the output of the following Python code? def f1(): global x x+=1 print(x) x=12 print("x")

Select the correct option to test your answer:

More Computer Questions

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}" Brick sort uses which of the following methods for sorting the input? What is the best case time complexity of gnome sort? In Power Point Speaker's information is expressed in___________? What is the main goal of "cohort analysis" in business analytics?