Question 4 (2 points) ➡ Listen Enter the first line of code to define a function called me with two positional arguments: name and hometown. The response is case-sensitive Question 5 (2 points) ✓ Saved ➡ Listen A/ = 12) animal (species = 'cat', height = 35, weight In the code above, species, height, and weight are what kind of arguments? Question 6 (2 points) ➡ Listen A/ Create the first line of a function definition where the function name is time, and there is one default parameter, hours, with the value 24. A/
def classes (*args) : print (f'My classes are: classes ('DTSC520', 'DTSC550', 'DTSC575') Given the code above, what would need to go in the blank to get this: My classes are: ('DTSC520', 'DTSC550', 'DTSC575') Question 8 (2 points) Listen ▶ Saved A/ What character do you use to explode arguments? A
def classes (*args) : print (f'My classes are: classes ('DTSC520', 'DTSC550', 'DTSC575') Given the code above, what would need to go in the blank to get this: My classes are: ('DTSC520', 'DTSC550', 'DTSC575') Question 8 (2 points) Listen ▶ Saved A/ What character do you use to explode arguments? A
Question 4 (2 points) ➡ Listen Enter the first line of code to define a function called me with two positional arguments
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am