What will this code do when you run it?

Automate Cybersecurity Tasks with Python | Weekly challenge 1 Quiz | 

What will this code do when you run it?

var2 = ["a","b","c"]
var2_type = type(var2)
print(var2_type)
  • Indicate that var2 contains list data
  • Output the characters “a”, “b”, and “c” to the screen
  • Print the string “var2_type” to the screen
  • Change the data type of var2

 

Leave a Comment