The mystery and the beauty of python

Description

Quiz on all things python
DOMHNALL MURPHY
Quiz by DOMHNALL MURPHY, updated more than 1 year ago
DOMHNALL MURPHY
Created by DOMHNALL MURPHY about 2 years ago
0
0

Resource summary

Question 1

Question
What is python
Answer
  • A snake
  • A programming language
  • A chewy sweet
  • The meaning of life

Question 2

Question
Python is a compiled programming language
Answer
  • True
  • False

Question 3

Question
In addition to int and [blank_start]float[blank_end], Python supports other types of numbers, such as Decimal and Fraction. Python also has built-in support for complex numbers, and uses the j or J suffix to indicate the [blank_start]imaginary[blank_end] part (e.g. 3+5j).
Answer
  • float
  • imaginary

Question 4

Question
Besides numbers, Python can also manipulate [blank_start]strings[blank_end], which can be expressed in several ways. They can be enclosed in single quotes ('...') or double quotes ("...") with the same result 2. [blank_start]\[blank_end] can be used to escape quotes:
Answer
  • strings
  • cheese
  • \
  • ?

Question 5

Question
Identify the software terms in the following image
Answer
  • python
  • reptile
  • random forest
  • greenery
Show full summary Hide full summary

Similar