subject
Computers and Technology, 01.12.2021 01:00 zoop55

Write a function charInWord that takes in two parameters, a char (character) and a word (string). The function will return True if the character is in the word and False if it is not. If word is not a string type, or if char is not a string type, or if the length of char is greater than 1, the function should return None. Your main program should call the function and print char is in word if the function returns true, or char is not in word if the function returns false, using the user-supplied values instead of char and word. The program should print incorrect input provided if the function returns None.

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 21.06.2019 21:00
You should hand write your references on your resume.
Answers: 1
question
Computers and Technology, 21.06.2019 21:40
Write c function that can replace all the positive elements to 0 and negative to 1 in undefined length one-dimensional array. test your program in the main program by defining one-dimensional array of 6 elements
Answers: 1
question
Computers and Technology, 22.06.2019 11:30
Andrina writes letters that are regularly sent to hundreds of her company’s customers. because of this, she would like for the mail merge command to be in her quick access toolbar, and she wants it to be the first button on the left. what should andrina do to place the mail merge button there?
Answers: 1
question
Computers and Technology, 23.06.2019 15:00
Idon’t understand the double8 coding problem. it is java
Answers: 1
You know the right answer?
Write a function charInWord that takes in two parameters, a char (character) and a word (string). Th...
Questions
question
Mathematics, 10.04.2020 20:09
question
Mathematics, 10.04.2020 20:09
question
Mathematics, 10.04.2020 20:09
question
Spanish, 10.04.2020 20:09
question
Mathematics, 10.04.2020 20:09
Questions on the website: 13722359