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
40 questions
ASSESSMENT ENGLISH X GRADERS

Quiz
•
10th Grade
39 questions
Unit 4: Medieval Europe Test Review

Quiz
•
10th Grade
40 questions
Investment Strategies EMPA Review

Quiz
•
9th - 12th Grade
44 questions
WHA Final Exam

Quiz
•
9th Grade - University
38 questions
BWQ: Journey 2050 Modules 1,4,5,7

Quiz
•
9th - 12th Grade
38 questions
Benchmark 3 Review Part 1

Quiz
•
10th Grade - University
36 questions
Fr II Unité 7 le passé composé avec être

Quiz
•
9th - 12th Grade
40 questions
Ecology: Ecosystems and Biomes

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

Quiz
•
4th Grade
25 questions
SS Combined Advisory Quiz

Quiz
•
6th - 8th Grade
40 questions
Week 4 Student In Class Practice Set

Quiz
•
9th - 12th Grade
40 questions
SOL: ILE DNA Tech, Gen, Evol 2025

Quiz
•
9th - 12th Grade
20 questions
NC Universities (R2H)

Quiz
•
9th - 12th Grade
15 questions
June Review Quiz

Quiz
•
Professional Development
20 questions
Congruent and Similar Triangles

Quiz
•
8th Grade
25 questions
Triangle Inequalities

Quiz
•
10th - 12th Grade
Discover more resources for others
40 questions
Week 4 Student In Class Practice Set

Quiz
•
9th - 12th Grade
40 questions
SOL: ILE DNA Tech, Gen, Evol 2025

Quiz
•
9th - 12th Grade
20 questions
NC Universities (R2H)

Quiz
•
9th - 12th Grade
25 questions
Triangle Inequalities

Quiz
•
10th - 12th Grade
46 questions
Biology Semester 1 Review

Quiz
•
10th Grade
65 questions
MegaQuiz v2 2025

Quiz
•
9th - 12th Grade
10 questions
GPA Lesson

Lesson
•
9th - 12th Grade
15 questions
SMART Goals

Quiz
•
8th - 12th Grade