Question: questions 4-6 please Problem 4. Whth string concatenation you can also play a round of Mad Libs. If you aren't familiar with the game, hera's
Problem 4. Whth string concatenation you can also play a round of Mad Libs. If you aren't familiar with the game, hera's how it works: you have a predetermined text Where certain words have been replaced by thair part of speech, for examplo verb, noun, adjective. For each gap, you ask a friend to say a word of that part of speech. You then put those words in the gap and read out the toxt aloud. Ideally, hilarity ensues. Here's an example adapted from the very first Mad Libs book "[exclaeation]! He said [adverb] as he junped into his convertible [noun] and drove off with his [adjectivel friend." "Ron! He said better as he jumped into his convertible Tesla and drove off with his irritating friend." Wite a program that allows the user to play a single round of Mad Libs with the computer (e.g. like the round above). Problem 5. Ask the user to define what is the minimal number of characters for a word to be considered long. Aek for another input, In this cases word. Aterwards, witte a boolean expression that checks if the word provided by a user la long or not. Peoblem 8 (4 polnts). You might have heard of Dungeons 8 Degons, a pen-and-peper roleplaylng game where the player crestes their own fantasy character and then plays this character in a series of adventures. There are ditferent types of characters to choose from, but they must satisfy certalin requirements. Algenment pleces the character's ethics and morals along two axes: lawful-neutral-chaotic, and good-neutral-evl. Here Is a selection of allgnments of the characters
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
