Python Module MCQ - Quiz

  • AImports the random module
  • BImports a random module from a list of modules
  • CImports the random function
  • Dimports the directory named random
  • AA random float value between 4 and 7, including 4 and 7
  • BA random float value between 4 and 7, excluding 4 and 7
  • CA random integer value between 4 and 7, excluding 4 and 7
  • DA random integer value between 4 and 7, including 4 and 7
  • ADisplays the Python version
  • BDisplays the operating system version
  • CDisplays the location of the Python interpreter
  • DDisplays the date and time
  • ADisplays the full month name
  • BDisplays the abbreviated month name
  • CDisplays the abbreviated day name
  • DDisplays the full weekday name
  • ADisplays the week number of the year from 00 to 53
  • BDisplays the date appropriate for locale
  • CDisplays the weekday number from 0(Sunday) to 6(Saturday)
  • DDisplays the time appropriate for locale