Answer:
userInput = input("Please enter a string of words ")
userInput.split ()
for item in userInput.split ():
if item =="darn":
print("Censored")
break
else:
print(userInput)
Explanation:
Using Python programming language, the input function is used to receive the users input and save in a variable userInput
Then the .split method is used to convert the words into a list of words.
Using a for loop, the code checks for the word darn and prints censored if it exists else it prints the userInput
Answer:
Concept: Programming
See the solution below:
import java.util.Scanner;
import java.lang.Math;
class Lesson_24_Activity_Three {
public static void main(String[] args){
Scanner scan = new Scanner(System.in); System.out.println ("Enter a number between 0 and 100:");
int x = scan.nextInt();
if ( x <= 0 || x >= 100) { System.out.println("error");
}
else
{
for (int i = x; i <= 100; i ++)
{
System.out.print( i + " ");
}
}
}
}
Answer:
Explanation:
It seems a good deal, this it could be like old-time, when there is no coin, people traded goods and service for other goods and service, this was the economic, in this particular example it could be something similar, but is the fish is bigger could be traded by two coconuts, in addition, the job of the fisherman is harder and the coconuts are for season.
Answer:
<em>Answer : D</em>
Explanation:
When we check Branch3 router according to the attached diagram we notice that “network 192.168.10.0” command is missing under “router eigrp 100” .
Branch 3# Show running-config according to the attached diagram
<output ommited>
!
router eigrp 100
network 192.168.16.0