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

What will be the output of the following Python code if the system date is 21st June, 2017 (Wednesday)? tday=datetime.date.today() print(tday.isoweekday())

Select the correct option to test your answer:

More Computer Questions

The job of the . . . . . . . . file is to store important metadata about your package. Suppose d = {"john":40, "peter":45}, to delete the entry for "john" what command do we use? Which of the following is an advantage of binary insertion sort over its standard version? Choose the correct statements among the following: What will be the output of the following C# code snippet? class MyClass { char[] chrs = { 'A', 'B', 'C', 'D' }; public System.Collections.IEnumerator GetEnumerator() { foreach (char ch in chrs) yield return ch; } } class Program { static void Main(string[] args) { MyClass mc = new MyClass(); foreach (char ch in mc) Console.Write(ch + " "); Console.WriteLine(); Console.ReadLine(); } }