1. Create a function called count_to_three() , remember the colon.
2.Indented inside the function add the print() function three times to output the
words "One" "Two" and "Three"
3.Outside the function add a line to call the function

Respuesta :

Answer:

This program is written using Python programming language

The program doesn't make use of comments

See attachment for proper format of the program

def count_to_three():

print("One")

print("Two")

print("Three")

count_to_three()

Explanation:

The first line of the program defines the function count_to_three() with no parameters, passed to it

Line 2 to 4 of the program is indent and each line make use of print() function

Line 2 prints "One", Line 3 prints "Two" and Line 4 prints "Three" without quotes

The last line of the program calls the defined function

Ver imagen MrRoyal
ACCESS MORE
EDU ACCESS