Quizzma Latest Questions

Anonymous
Anonymous

The program will be: word = “eggplant print(“Your word is !” + word + “!”) for i in word: INDENT HERE or TAB print( i + “!”) What’s the information about In Python, it’s important to maintain consistent indentation to indicate blocks of code. In this case, the print(i + ...

Anonymous
Anonymous

import math # fill in this function to return the distance between the two points! first_point = (1, 1) second_point = (4, 5) def distance(first_point, second_point): x1= first_point[0] x2= second_point[0] y1= first_point[1] y2= second_point[1] power1 = pow(y2 - y1, 2) power2 = pow(x2 - x1, ...

Anonymous
Anonymous

  /* Your code... */ text = input("Enter some text: ") text.lower() text.split() print("There are " + str(text.count("owl")) + " words that contained "owl".") print("They occured at indices: for c, value in enumerate(text, 1):") print("They occured at indices: ") for c, value in ...