Calculate the number of Characters and the size of words “Caleb University Imota, Lagos”using Taro Yamen​

Answers

Answer 1

The code to calculate the number of characters and the size of words is as follows:

x = input("Enter your text here: ")

char=0

word=1

for i in x:

   char = char+1

   if(i==' '):

       word=word+1

print("Number of words in the given string ",word)

print("Number of characters in the given string ",char)

   

Code explanation:

The code is written in python

The first line of code, we store the users input in a variable called x.Then we initialise the variable char to zero.The variable word is also initialise to zeroThe we loop through the user's input and count the character We also look for space to know the word, then count the words .Finally, we print the number of word and the number of character.

learn more on python code here: https://brainly.com/question/20379340


Related Questions

When connecting wires for a circuit you must...
A. make sure the conductor are touching and secure.
B. make sure at least one conductor is touching and secure.
C. make sure the insulators are touching and secure.
D. make sure at least one insulator is touching and secure.​

Answers

Answer:

A. make sure the conductor are touching and secure

Which query wizard allows the user to choose the field that will be calculated for each row and column intersection

Answers

Answer:

ur mom

Explanation:

sorry on a times exam and I need answers

find answer.
74 68 69 73 20 69 73 20 77 72 69 74 74 65 6E 20 69 6E 20 68 65 78 20 62 75 74 20 69 74 73 20 6E 6F 74 20 68 61 72 64 20 74 6F 20 66 69 6E 64 20 6F 75 74 20 74 68 61 74

Answers

Answer:

"this is written in hex but its not hard to find out that"

Explanation:

Each two hexadecimal digits represent an ASCII character. I.e.,

74 = t

68 = h

69 = i

73 = s

and so forth...

Look up any ASCII table on the internet that uses hexadecimal numbering, and you can translate by yourself. I attached one below.

Why is a second ALU needed in the Execute stage of the pipeline for a 5-stage pipeline implementation of LC-2200

Answers

Answer:

Those stages are, Fetch, Decode, Execute, Memory, and Write. The simplicity of operations performed allows every instruction to be completed in one processor cycle.

When is it appropriate to have your security badge visible.

Answers

The security credential is a way to identify yourself as a member of a security institution.

What is a security credential?

A security credential is a personal document that includes various personal data that accredits an individual as a member of a specialized security group.

When is it appropriate to have the security credential visible?

A security credential is appropriate to have visible when interacting with other people to give them the necessary instructions related to the security of a place.

Learn more about security badge in: https://brainly.com/question/4180037

On the line below, write two ways page numbers can be added to a document.

Answers

Answer: wiriting it and printing it

Explanation: duh

Im stuck on thiss for the longesttt

Answers

Answer:

i cant understand?,

Explanation:

i know its a sort of coding game but what is the goal of the game/task?

how do i multiply a loop (python)
I have x = [200, 300, 4, 125]
those are variables in x

y = 25

so how do I multiply y by each variable in x

Answers

Answer:

x = [200, 300, 4, 125]

y = 25

for item in x: Iterate over a_list.

y = y * item. multiply each element.

print(y)

Explanation:

What evolution has cryptography grown since sample passwords? Name 5.

Answers

Answer:

Encrypting Company Devices. ...

Securing Email Communications. ...

Protecting Sensitive Company Data. ...

Encrypting Databases. ...

Securing a Website.

Explanation:

Which option describes a balanced slide?
Giving branliest!!!!

A slide with no text and eight images

A slide full of text and no images

A slide with a size 18 text font and five images

A slide with a size 20 text font and one or two images

Answers

Answer: a slide with a size 18 font and five images

Explanation:

the text isnt that big to overpower the images and vise versa

Answer:

C

Explanation:

What hand-held gaming system did Nintendo release in 1989?
Game Boy
Game Cube
Nintendo DS
Nintendo Wii

Answers

Answer:

Game Boy!

Explanation:

Game Boy was a very popular gaming system used by children around the world (especially US and Japan). It marked the childhoods of many.

:)

Answer:

Game Boy

Explanation:

The first handheld game console with interchangeable cartridges is the Milton Bradley Microvariation 1979. Nintendo is credited with popularizing the handheld console concept with the release of the Game Boy in 1989 and continues to dominate the handheld console market.

I personally wasn't alive during the release of the Game Boy, but I have many Game Boy systems today. :)

list any four features of second generation of computer on point​

Answers

Answer:

Given below:

They used transistor as main component.Their are operating speed was up to microsecond.They used magnetic core memory as internal storage.They could understand assembly and high level language.

Which of the following is a way to move to different exhibits throughout the museum? (1 point)
the plus and minus icons
the blue arrows
the camera icons
the eye icon

Answers

Answer:

The answer is B the blue arrows.

Explanation:

Answer:

b the blue arrows

Explanation:

What type of program would you use to create a personal budget?
word processing
file system
document
spreadsheet

Answers

Answer:

Using a spreadsheet would be the best program for creating a personal budget.

Explanation:

With a spreadsheet, you can enter formulas to add or subtract from your budget, plus you can create charts and graphs as well.

Cam's computer has been crashing lately. He's on a deadline and has been losing important work when he saves it to his laptop. Where should cam save his data?

Answers

Answer:

Save it to the server, then click Done.

Please click the heart, it shows appreciation.

someone pls explain
echo check and checksum

Answers

Answer:

it makes sure transfers over computers are error free

Explanation:

With an echo check, the receiving computer sends a copy of the data immediately back to the sending computer for comparison.

write a program that will ask the user to input a number beween 50-60​

Answers

Answer:

def main():

   askUser = int(input("Choose a number between 50-60"))

if askUser >= 50:

    if askUser <= 60:

     print("You've chosen the number " + str(int(askUser)) + "!")

else:

    print("Error, please enter a number between 50-60!")

 

main()  

Explanation:

The program asks the user to pick a number between 50-60. If they enter anything else, an error message will pop up redirecting them to choose a number only from 50-60.

Should spreadsheets be used to write a letter?
YES
NO

Answers

When we are talking about a letter, I am assuming something like an email. A spreadsheet is only good for data collection, writing letters is not a data collection and thus a spreadsheet's use is negated.

Hope that helps!

You can add the word ____ to an ip address command and configure the address as a second IP address for the interface.

Answers

Answer:

Secondary.

Explanation:

This word assigns the IP as the secondary IP address

The ________ function accepts two or more logical tests and displays TRUE if all conditions are true or FALSE if any one of the conditions is false. (5 points) NOT NOR AND OR

Answers

Answer:

brianary system function

You have just finished installing a network adapter and booted up the system, installing the drivers. You open File Explorer on a remote computer and don't see the computer on which you installed the new NIC. What is the first thing you check

Answers

Answer:

to make sure everything is plugged in and turned on

Explanation:

I do this every day at work, there's always one wire that got missed

please help our cause by spreading this flag all over brainly

pls paanswer asap......​

Answers

Answer:

Bro if you are really doing this on your phone or on a device look it up

Explanation:

Sorry for killing it, but dude, look it up on your phone, it doesn't take that long, it takes longer to wait for a response.

True or false: Quality score is an algorithm that scores each of your search ads on spelling and grammar.

Answers

True or false: Quality score is an algorithm that scores each of your search ads on spelling and grammar.

Answer: False

I think sorry

The given statement is false.

What is  Quality score?

Quality Score exists as a diagnostic tool meant to provide you a sense of how well your ad quality analogizes to other advertisers. This score exists calculated on a scale from 1-10 and is obtainable at the keyword level.

To define the position of the ad on a search engine, each ad exists allocated using a procedure that takes into account the bid and the Quality Score.

Quality Score exists rating of the quality and relevance of both your keywords and PPC ads. It is used to choose your cost per click (CPC) and multiplied by your maximum bid to choose your ad rank in the ad auction process.

Hence, The given statement is false.

To learn more about Quality Score refer to:

https://brainly.com/question/8034313

#SPJ2

Aerodynamic _____ occurs when an object moving through the air is slowed down by the air resisting the object's forward movement. (4 letters)

Answers

Answer:

air resistance

Explanation:

Aerodynamic Drag occurs when an object moving through the air is slowed down by the air resisting the object's forward movement.

Aerodynamic drag, often simply referred to as "drag," is a force that opposes the motion of an object as it moves through a fluid medium, typically air.

When an object moves through the air, it has to push the air out of the way, and in turn, the air exerts a resistance force on the object. This resistance force is call drag.

Drag is a significant factor in various contexts, such as aviation, automotive engineering, and sports. It's responsible for slowing down vehicles, affecting their fuel efficiency, and influencing the design of objects to minimize its effects.

Learn more about Drag here:

https://brainly.com/question/13512865

#SPJ3

I am the biggest and most important part of data storage hardware. I am about the size of a small book and store critical things like the OS, software titles, and other files. What am I

Answers

Answer:

HDD (Hard drive disk) or SSD (Solid state drive)

Explanation:

Alberto works in internet marketing and receives over 300 emails a day that he must respond to. Unfortunately, the new office that Alberto moved into temporarily has very limited internet connectivity. What protocol would help Alberto with this situation and allow him to read and respond to his messages offline?

Internet Control Message Protocol (ICMP)


Post Office Protocol (POP3)


Dynamic Host Configuration Protocol (DHCP)


Interactive Mail Access Protocol (IMAP)

Answers

Answer:

B.) Post Office Protocol (POP3)

Explanation:

Post Office Protocol (POP3) is an Internet standard protocol for extracting and getting email from a remote mail server for usage by the host machine. It is an application layer protocol that lets users retrieve and send email, according to the OSI model. I hope this helps! ^-^

Which attack intercepts communications between a web browser and the underlying os?.

Answers

Answer:

A man-in-the-middle attack.

The attacker is not actually on the network, but instead pretends to be a trusted resource (usually an Internet connection) by intercepting all traffic going to or from that server or service. This means they can read or modify the traffic before it reaches its destination. For example, if a website you are visiting sends your password to another site in cleartext, a man-in-the-middle could intercept this packet and read your password.

Explanation:

My own original answer.

A tropical storm has been moving at 15 miles

Answers

where’s the rest of the question?

in a formal business document, a works cited list usually appears___.

Answers

Answer:

At the end

Explanation:

In formal documents, each of the cited works is written in different paragraphs and assigned a number at the end of citation in ascending order.

Finally, at the end of the document, the document reference where it has been published online in same order as in document is quoted. Finally, this list of cited works appears at the end of the document called references and Bibliography.

Gina manages four sets of databases for the University; one with student name and address information, and one with student billing information, one with academic records for all students and one for current student enrollment status for the semester. She has been asked to use one common field to link the databases. What BEST identifies this particular type of field name?

Answers

Answer: In short words, be awesome like the star you truly are.

-this is why with Potato

Explanation: - learn with brainly

Other Questions
Overflow during a heavy rainstorm from a wastewater treatment plant couldA) weaken housing foundationsB) create over-treated drinking waterC)send polluted runoff into nearby pondsHURRY I NEED HELP ASAP Located near Africas coasts and rifts, ___ are steep slopes and cliffsides that are caused by erosion Evaluate the consequences of not applying for funding your studies Please help, Ill mark your answer as brainliest. I dont know what this is for You move up 5 units and down 3 units. You end at (2, 0). Where did you start? What region of the graph would satisfy the following system?y < 2 + 33--22. In one to two sentences, explain why metal is often used for making wire and the properties that make metal useful. (Will give 15 points for answer:,)) What can be a result of increased trade? slowing economic growth creating jobs increasing poverty none of the above. elodie parc avec des amis The presence of many different churches in the colony of New Jersey indicated that the colonists enjoyed religious freedom.Jewish people could not settle there.the Act of Toleration had been passed.the Society of Friends was not welcome. I NEED HELP PLS PLSPSSS ABC is a triangle and PQ is parallel to BC. BC = 12.6 cm, PQ = 8.4cm and AQ = 7.2 cm. Find AC.(i know that parallel lines divide triangle sides proportionally, but can someone do a detailed step on AC) You flip a coin and spin the spinner below. What is the probability that you flip heads and spin a number greater than 2?The spinner has 4 sides and 1-4 When it became obvious his army would lose the battle, Santa Anna surrendered to Sam Houston at San Jacinto. A. True B. False f(x) = (2x 3)(x + 6)(5x + 6) has zeros at x = -6, x = -6/5 and x =3/2.What is the sign of f on the interval - 6 Find an equation for the perpendicular bisector of the line segment whose endpoints are (5, 5) and ( 7, 1). What is one way in which traditional storytelling is different from modernist stories I dont know What a clause and whats an example of it GIVING BRAINLYa balloon contains 2.5 L of air at 1.00 atm. it is taken underwater to a new pressure of 4.00 atm. what id the new volume? round to 2 decimal places