subject

Edhesive intro to computer science - python
any questions between 3.7 - 5.1 + chatbot assignment would be highly valued,
will be giving brainliest to the person with the most correct codes or the fastest.
any goofy or irrelevant answers will be reported.

3.7 code practice
when we read code and predict its output, it is called tracing code.

for this lesson you will come up with your own challenging algorithm for other students to trace. it must contain at least 5 - if statements and use at least one and or or boolean condition. run it in the sandbox, then copy and paste your code in piazza for other students to try.

for this challenge try reading 3 or 4 other students' code - trace the code and predict what it outputs, then run it in the sandbox to see if you got it right.

assignment 3: chatbot
a chatbot is a computer program designed to emulate human conversation. for this program you will use if statements, user input, and random numbers to create a basic chatbot.

here is the scenario: you have decided to start an online website. you are creating a prototype to show investors so you can raise money and launch your website. you should ask the user at least 5 questions ( 5 inputs required ) and use at least 2 if-elif-else statements and give answers depending on how they answer. some responses should be based on what they type, and some should be based on random numbers.

for example, if they say they are sad, your chatbot might respond im sorry to hear that.

you could also have a random number generated between 1 and 3 and have a corresponding response depending on the number such as that is great to hear or so interesting.

sample run

note: your program will be different - this is only an example (user input is in italics)

what is your name?
pascal

hi there pascal, nice to meet you.
how old are you?
17

17 is a good age.
you are old enough to drive.
so, pascal how are you today?
happy

you are happy.
that is good to hear.
tell me more.
i am still happy.

sounds interesting.
well, pascal, it has been nice chatting with you.

4.1 code practice: question 1
write a program that asks the user to enter a name, and then print "nice to meet you name". your program should repeat these steps until the user inputs "nope".

sample run:

enter a name: (nope to end) antonio
nice to meet you antonio
enter a name: (nope to end) jonathan
nice to meet you jonathan
enter a name: (nope to end) tyler
nice to meet you tyler
enter a name: (nope to end) brianne
nice to meet you brianne
enter a name: (nope to end) nope

(and so on)

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 22:00
Researchers measured the data speeds for a particular smartphone carrier at 50 airports. the highest speed measured was 78.1 mbps. the complete list of 50 data speeds has a mean of x overbarequals16.11 mbps and a standard deviation of sequals18.65 mbps. a. what is the difference between carrier's highest data speed and the mean of all 50 data speeds? b. how many standard deviations is that [the difference found in part (a)]? c. convert the carrier's highest data speed to a z score. d. if we consider data speeds that convert to z scores between minus2 and 2 to be neither significantly low nor significantly high, is the carrier's highest data speed significant? a. the difference is nothing mbps.
Answers: 3
question
Computers and Technology, 23.06.2019 02:30
How to launch an app: steps to be successful? launching an app is a great idea, but it’s not that easy as we supposed to think. the majority of mobile applications don’t generate revenue because companies aren’t ready to be competitive. referring to our experience in successfully building and launching apps we hope to you omit these difficulties. we are going to talk about ideas, marketing, testing your product, its development, distribution and support. you will learn 8 product launch stages to succeed.
Answers: 1
question
Computers and Technology, 23.06.2019 14:30
Select the correct answer. what does it indicate when a website displays https instead of http? a. the website is secure. b. there is no secure sockets layer. c. the secure sockets layer is hidden. d. the website is not secure.
Answers: 1
question
Computers and Technology, 24.06.2019 01:00
What are two ways to access the options for scaling and page orientation? click the home tab, then click alignment, or click the file tab. click the file tab, then click print, or click the page layout tab. click the page layout tab, or click the review tab. click the review tab, or click the home tab?
Answers: 2
You know the right answer?
Edhesive intro to computer science - python
any questions between 3.7 - 5.1 + chatbot assignme...
Questions
question
Advanced Placement (AP), 24.09.2020 02:01
question
Mathematics, 24.09.2020 02:01
question
Mathematics, 24.09.2020 02:01
question
Spanish, 24.09.2020 02:01
Questions on the website: 13722367