Write a program to create a function that takes two arguments, name and age, and print their value.

Activity Book Quiz

Quiz
•
others
•
10th Grade
•
Easy
Kelzang Lethro
Used 1+ times
FREE Resource
41 questions
Show all answers
1.
OPEN ENDED QUESTION
3 mins • 1 pt
Evaluate responses using AI:
OFF
2.
OPEN ENDED QUESTION
3 mins • 1 pt
Write a python code using a function that takes in the width and length of a rectangle, and returns the area and the perimeter of the rectangle.
Evaluate responses using AI:
OFF
3.
OPEN ENDED QUESTION
3 mins • 1 pt
Write a python code to create a function called greet that takes a name as an argument and prints out a message addressed to the person. Test the function by calling it with your name.
Evaluate responses using AI:
OFF
4.
OPEN ENDED QUESTION
3 mins • 1 pt
Write a python code to create a function called multiply that takes two numbers as arguments and returns the result of multiplying them. Test the function by calling it with different numbers.
Evaluate responses using AI:
OFF
5.
OPEN ENDED QUESTION
3 mins • 1 pt
Write a python code to create a function called is_even that takes a number as an argument and returns True if the number is even, and False otherwise. Test the function by calling it with different numbers.
Evaluate responses using AI:
OFF
6.
OPEN ENDED QUESTION
3 mins • 1 pt
Write a python code to create a function called largest that takes a list of numbers as an argument and returns the largest number. Test the function by calling it with different lists of numbers.
Evaluate responses using AI:
OFF
7.
OPEN ENDED QUESTION
3 mins • 1 pt
Write a python code to create a function called count_vowels that takes a sentence as an argument and returns the number of vowels in the sentence.
Evaluate responses using AI:
OFF
Create a free account and access millions of resources
Similar Resources on Quizizz
38 questions
BWQ: Journey 2050 Modules 1,4,5,7

Quiz
•
9th - 12th Grade
45 questions
AG Unit 6 Test Bank

Quiz
•
10th Grade
38 questions
Benchmark 3 Review Part 1

Quiz
•
10th Grade - University
46 questions
Middle America Unit Test

Quiz
•
6th Grade - University
40 questions
Investment Strategies EMPA Review

Quiz
•
9th - 12th Grade
42 questions
economics

Quiz
•
9th Grade - University
40 questions
Chapter 12 Sections 6-8 Review

Quiz
•
9th - 12th Grade
45 questions
Domain 1 Vocab Part 1

Quiz
•
9th - 12th Grade
Popular Resources on Quizizz
15 questions
Multiplication Facts

Quiz
•
4th Grade
20 questions
Math Review - Grade 6

Quiz
•
6th Grade
20 questions
math review

Quiz
•
4th Grade
5 questions
capitalization in sentences

Quiz
•
5th - 8th Grade
10 questions
Juneteenth History and Significance

Interactive video
•
5th - 8th Grade
15 questions
Adding and Subtracting Fractions

Quiz
•
5th Grade
10 questions
R2H Day One Internship Expectation Review Guidelines

Quiz
•
Professional Development
12 questions
Dividing Fractions

Quiz
•
6th Grade
Discover more resources for others
25 questions
Spanish preterite verbs (irregular/changed)

Quiz
•
9th - 10th Grade
10 questions
Juneteenth: History and Significance

Interactive video
•
7th - 12th Grade
8 questions
"Keeping the City of Venice Afloat" - STAAR Bootcamp, Day 1

Quiz
•
9th - 12th Grade
20 questions
Distance, Midpoint, and Slope

Quiz
•
10th Grade
20 questions
Figurative Language Review

Quiz
•
10th Grade
20 questions
Understanding Linear Equations and Slopes

Quiz
•
9th - 12th Grade