Question: Module 1 Required Coding ActivityNOTE: This program requires print output and using code syntax used in module 1 such as variable assignment, input, in keyword,
Module Required Coding ActivityNOTE: This program requires print output and using code syntax used in module such as variable assignment, input, in keyword, lower or upper method
Program: Name Check
get user input for names of people met in the last hours
save in a variable called inputtest
print True if "John" is in the inputtest string
Test the code so far
repeat the process checking the input for your name,
challenge: add two more names
Test your code
challenge: make your code work for input regardless of case, eg print true for "mary", "Mary", "MARY" or "MaRy"
Work through the Module Tutorials and Practices prior to attempting this activity. Notice that this activity is logically very similar to the Allergy Check activity in
the practice module. Remmeber, you are not allowed to work with others on this code or post it in Teams for help. You can ask related questions about the
practice module.
NOTE: This program requires print output and code syntax used in module
Some Assignment Requirements
NOTE: This program requires print output and using code syntax used in module such as variable assignment, input, in keyword, lower or upper method
Program: Name Check
get user input for names of people met in the last hours
save in a variable called inputtest
print True if "John" is in the inputtest string
Test the code so far
repeat the process checking the input for your name,
challenge: add two more names
Test your code
challenge: make your code work for input regardless of case, eg print True for "mary", "Mary", "MARY" or "MaRy"
In : Y # Create name check code
# get input for inputtest variable
# print "True" message if "John" is in the input or False message if notModule Required Coding Activity
Work through the Module Tutorials and Practices prior to attempting this activity. Notice that this activity is logically very similar to the Allergy Check
the practice module. Remmeber, you are not allowed to work with others on this code or post it in Teams for help. You can ask related questions abou
practice module.
NOTE: This program requires print output and code syntax used in module
Some Assignment Requirements
NOTE: This program requires print output and using code syntax used in module such as variable assignment, input, in keyword, lower or upper m
Program: Name Check
get user input for names of people met in the last hours
save in a variable called inputtest
print True if "John" is in the inputtest string
Test the code so far
repeat the process checking the input for your name,
challenge: add two more names
Test your code
challenge: make your code work for input regardless of case, eg print True for "mary", "Mary", "MARY" or "MaRy"
: # Create name check code
# get input for est variable
# print True message John the input False message not
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
