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

What will be the output of the following Python functions? import turtle t=turtle.Pen() for i in range(0,3): t.forward(100) t.left(120) t.back(100) for i in range(0,3): t.forward(100) t.left(120)

Select the correct option to test your answer:

More Computer Questions

Which of the following function can be used to maximize the minimum dissimilarities? What is the correct way to define a constant named 'PI' with a value of 3.14159 in C++? Which indent marker controls all the lines except first line? As companies move past the experimental phase with Hadoop, many cite the need for additional capabilities, including . . . . . . . . What will be the output of the following Java program? import java.net.*; class networking { public static void main(String[] args) throws UnknownHostException { InetAddress obj1 = InetAddress.getByName("cisco.com"); System.out.print(obj1.getHostName()); } }