Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Author - Please specify your name and email ( 1 point ) Q 1 . Declare two integers. Print the lesser of two given numbers
Author "Please specify your name and email" point
Q Declare two integers. Print the lesser of two given numbers if both numbers are even,
but print the greater number if one or both the numbers are odd.
Declar pairs of such examples. points
Input:
numberone
numbertwo
Output:
Q Entity Recognition
For the given sentence below
a Use the split function to split the sentence in word tokens points
b Loop through the returned list using any loop statment point
c During your loop, check if the token is an animal using if statment and print statment "Animal found", if found one. You must use animals list given below and use in operator points
sentence "The quick brown fox jumps over the lazy dog"
animals fox'elephant','dog', 'monkey'
# Write your code here
Q For twoword strings given below. Print True if both the words begin with
the same letter otherwise print False point
str "Hello World"
str "Jumping Jack"
#Write your code here
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started