Part 2: Code the Program Use the following guidelines to code your program. 1. Use the Python IDLE to write your program. 2. Using comments, type a heading that includes your name, today’s date, and a short description. 3. Set up your def main(): statement. (Don’t forget the parentheses and colon.) 4. Use at least two variables and two print statement to display your message to the screen. 5. Conclude the program with the main() statement. 6. Follow the Python style conventions regarding indentation in your program. 7. Run your program to ensure it is working properly. Fix any errors you may observe. Example of expected output: The output below is an example of a “Favorite TV Show” message. Your specific results will vary depending on the choices you make about your message. Output My favorite TV show is MythBusters. I like it because I learn a lot and they do crazy experiments. When you've completed writing your program code, save your work by selecting 'Save' in the Python IDLE. When you submit your assignment, you will attach this Python file separately.

Answers

Answer 1

# Replace this with your name, date, and a short description

def main():

   x = "My favorite book is python for dummies."

   y = "I like it because it introduces new python topics."

   print(x)

   print(y)

if __name__ == "__main__":

   main()


Related Questions

Which of the following is NOT a reason to include comments in programs

Answers

what are the options?
what are our options??????

types of computer that we use in our daily life​

Answers

Answer:

all coumputers

Explanation:

i just like coumputers

The answer would be all computers
Hope this helps :)

+20 POINTS!!!~~~~~When adding delegates to his mailbox, which role should Joel use if he would like the user to be able to read and create items in a particular folder?

Editor
Publishing Editor
Author
Manager

Answers

Answer:

B) Publishing Editor

Explanation:

Joel should use the publishing editor tool. The correct option is B.

What is a mailbox?

A mailbox is where electronic mail messages found on a remote server or downloaded to the user's hard drive are stored.

In this scenario, the role he should assign to the delegates is the publishing editor. This role grants them the ability to create, read, modify, and delete all items within a given folder, as well as create subfolders.

The other options listed either do not grant access to create/modify existing files or simply grant all of these rights to files created by the user but not to files already present in the folder. As a result, this would be the most appropriate role for Joel's goals.

To know more about mailbox follow

https://brainly.com/question/13276817

#SPJ6

How would you declare a variable x of type double and set it equal to 25.25? In JAVA

Answers

In java, you have to use the double keyword.

double x = 25.25;

You have to end the statement with a semi-colon. I hope this helps!

i need help plz it keeps on happening and idk what to do


so right now im on my school computer and everytime i turn it on it shows this blue site and on the site it says something like anti-virus-protection. I dont need virus protection cause im on my school computer, then whenever i turn on chrome it closes the page i was on and then brings it bk on does anyone know what is happening or can help me//

Answers

I would probably try restarting/turning the computer off and on again first. If that doesn't work, you should probably contact a teacher to see if they can help you.

(and if you can't make it work, maybe try to see if you can use another computer)

Hope you can figure it out!

In a non-linear control structure, the statements are executed depending upon the

Answers

Answer:

test condition

Explanation:

Which of these files is most likely to be a helper file for an application?
library .mov
library. mp3
library. dll
library. png

Answers

Answer:

library.dll

Explanation:

Answer:

library.dll

Explanation:

is right trust me

In double-entry accounting, where should you record money that is leaving your company to pay bills?
A. In the debits column
B. In the credits column
C. In the asset column
D In the cash flow column
Please select the best answer from the choices provided
A
B
С
D

Answers

Answer

I think the answer is cash flow

Explanation

Okay, so cash flow if my memory serves correctly, cash flow is the money that is coming in or when you go to pay something, cash asset is money that is in your wallet or in your bank account, cash credit is a temporary loan and I dont really kniw what a debita column is.

Answer:

Its actually

In the credits column

-

Or (B) On edg. E2021

Explanation:

<3

Select the five factors measured in the big five personality test.

A-extraversion

B-passivity

C-neuroticism

D-Openness

E-passion

F-energy

G-agreeableness

H-Conscientiousness​

Answers

the answers are:

- a. extraversion

- c. neuroticism

- d. openness

- g. agreeableness

- h. conscientiousness

The five factors measured in the big five personality test are extraversion, neuroticism, openness, agreeableness, and conscientiousness. The correct options are a, c, d, g, and h.

What is personality test?

A person's motives, preferences, interests, emotional makeup, and manner of interacting with others and situations are all subjected to a series of questions on personality tests.

A wide range of personality tests are now used, and many of them are based on particular theories or systems of personality.

Personality tests are frequently used in business to evaluate potential hires and assist in forming cohesive teams, as well as in psychology to help clarify diagnoses.

They can also assist people in realizing their talents and limitations so they can develop into their best selves.

The Big Five Personality Test measures extraversion, neuroticism, openness, agreeableness, and conscientiousness as its five main personality traits.

Thus, the correct options are a, c, d, g, and h.

For more details regarding personality test, visit:

https://brainly.com/question/8789865

#SPJ2

What type of space is often the main focal point of the composition in graphic design?

Answers

Answer:

Positives

Spaces

Explanation:

It’s positive spaces I got it correct.

so can u please follow my new ig acc i just started it yesterday its called stunnerspamz

Answers

Answer:

why are you advertising in brainly?????

Ohhhhhhhh okay uh sure

Browsers render web pages according to their own standards.
True or false?

Answers

Answer:

false

Explanation:

it is used to view web pages thant you or somebody else created there are websites our there that you can do that but its mainly to view them

Answer: False

Explanation:


You can enter more than one element of data in the same field. *

True
False

Answers

Answer:

true

Explanation:

im smart

I WILL GIVE BRAINLIEST TO WHO ANSWERS FIRST AND CORRECTLY.
As a general rule, the number of bullet points on a slide should not exceed _____.

4
8
10
2

Answers

The number of bullet points on a slide should not exceed till 8

Which of the following are personality tests? Check all of the boxes that apply.

A- the big five personality test

B- the Myers-Briggs Type Indicator

C- the Rorschach inkblot test​

Answers

the answers are:

- the big five personality test

- the myers-briggs type indicator

- the rorscharch inkblot test

(basically all of them)

The following are personality tests:

the big five personality test

the Myers-Briggs Type Indicator

the Rorschach inkblot test​

Thus option (a), (b), and (c) are correct.

What  is the personality test?

The personality test is a means of assessing or evaluating human personality. The most of the tools for evaluating the personality are of subjective self-report questionnaire measures or reports from life records such as grade scales.

The big five theory of personality suggests that personality is composed of five broad dimensions: extroversion, agreeableness, conscientiousness, neuroticism, and openness.

The following are personality tests:  the big five personality test; the Myers-Briggs Type Indicator and  the Rorschach inkblot test​. Therefore, option (a), (b), and (c) are correct.

Learn more about personality test here:

https://brainly.com/question/29501903

#SPJ5

The toolbox was a feature of the Mac OS that____?

GUYS I NEED HELP ASAP

a) made it Incredibly stable
b) Allowed Users to locate The Important Files
c) ensured Applications Would Have A Constant Look And Feel
d) Allowed User To Access Icons

Answers

Answer:

I think its c

Explanation:

Because launch pad is B and D and A does nothing to that

what is keyboard?example of computer?

Answers

Answer:

1.Keyboard is a panel of keys that operate a computer or typewriter.

2.Ada Lovelace and MacBook

What is a Keyboard?

An Keyboard is an input Device used to enter characters and functions into the computer system by pressing buttons.

Evan is borrowing a friend's laptop to check out some groovy music files. What can Evan look for to quickly identify
music files?
a messaging app
the hardware
the file extensions
the systems software

Answers

Answer:

The answer to this question is given below in the explanation section.

Explanation:

The correct option for this question is the file extension. Because, by knowing the file extension, you can easily understand and know what the file is. If Evan checking out some groovy music files then he will definitely look at the file format to know that is it the music file or not.

Other options are not correct because:

messaging app function is to send the message, receive and store the message while hardware does not have any relation to identifying the music file and system software is an example of an operating system that also does not help the Evan for looking at music file on the laptop.

Answer:

It is C bruddahs

Explanation:

Write a program that prompts the user to enter the number of students and each student's name and score, and finally displays the student with the highest score (display the student's name and score). Also calculate the average score and indicate by how much the highest score differs from the average. Use a while loop.

Answers

Answer:

Follows are the code to this question:

#include <iostream>//defining header file

using namespace std;

int main()//defining main method

{

int n,s=0,j,number,h=-1;//defining integer variables

string name, nh;//defining string variable

float avg;//defining float variable

cout<<"Enter the number of students: ";//print message

cin>>n;//input value in n

while (j< n) //defining loop for input value

{

getline(cin, name);//use getline method to input value

cout<<"Enter the student name: ";//print message

getline(cin, name);//use getline method to input value

cout<<"Enter the score: ";//print message

cin>>number;//input number value

s+= number;//add numbers into s variable

if(h<number)//defining if block that checks h is greater then number

{

nh= name;//use string variable nh to store name value

h= number;//use integer variable h to store name value

}

j++;//increment j value by 1

}

cout<<name<<endl;//print highest name value

cout<<"score: "<<h<<endl;//print highest score value

avg = (float)s/(float)n;//calculate the average value

cout<<"Average is: "<<avg<<endl;//print average value

cout<<"Difference: "<<(h-avg)<<endl;//print average difference

return 0;

}

Output:

please find attached file.

Explanation:

In the above code, inside the main method four integer variable "n,s,j, number, and h", two string variable "name and nh" and one float variable "avg" is defined.

In the next step, n is defined that is used for the input value. and Inside the main method, a while loop is defined, which uses the "getline" method to the input value, and use s variable to add all numbers.

In the next step, if a block is defined that checks "h" is greater than the number value if the condition is true, it will print the highest value of the input variable and its average difference.

compare the computer with human beings on the basis of its features​

Answers

Answer:

CPU=Brain MotherBoard=Heart

Explanation: The CPU does process just like the brain and the motherboard allows everything to function by getting power from your power supply similar to the human heart

Repl.it Assignment 4.1.3 (Max and Min)
Please help me
I will give brainliest and a like

Answers

-31 or 21- 50 it may also carry -31

this device can be used to type documents,send email,browse the internet,handle the spreadsheets,do presentations,play games,and more?​

Answers

Answer:

im pretty a computer

Explanation:

A computer is an electronic device that manipulates information, or data. It has the ability to store, retrieve, and process data. You may already know that you can use a computer to type documents, send email, play games, and browse the Web.

I WILL GIVE BRAINLIEST TO WHO ANSWERS FIRST AND CORRECTLY.
Use this option to view your presentation as your audience will see it.

File menu
Play button
Slide Show button
Tools menu

Answers

Answer:

slide show button give me plz

Explanation:

pls go to my account and answer my question

Answers

Answer:ok I couldn’t find the question do you mind maybe copy pasting it and asking it.

Explanation:

Answer:

ok

Explanation:

What does the visibility icon allow you to do?
it lets you hide the layer
change the color
move the layer
restart

Answers

Answer:

it lets you hide the layer

Explanation:

maybe you should go and take some photopea lessons

How to use modulo operator in Java

Answers

To use modulo in Java, you have to use the percent symbol %.

For instance,

int x = 2;

int y = 2;

System.out.println(x%y) will print 0 to the screen.

How do you change the behavior of the VR Robot?

Answers

Answer:

You can not do it

Explanation:

Answer:

To be able you have to change some of the robots codes, within the game.

Explanation:

3) When you used your computer, you might have experienced a program that "crashed" (quit
spontaneously) or "hung" (failed to respond to your input). Is this behavior a compile-time
(syntax) error or a run-time error? Explain.

Answers

Answer:

a run-time error

Explanation:

your computer usualy needs time to reload or reboot

guys my (R) key just bwoke and I have to copy and paste it every time I want to use it so now I'm talking in this nasty UwU voice... like the wide is every long and wuff like I can't evennnnn ahAHHAHAAAHAhahaHHAHh help please I don't know what to dooooooo like I can't even spell my own name like who am I now audwee

Answers

Answer:

Copy (Ctrl+c) Paste (Ctrl+v) Cant you click the rubber thing under the key you broke hoped i helped

Explanation:

Answer: then use a new keyboard or suffer with the UwU WHatS tHiS

Explanation:

Complete the sentence.
use only apps acquired from app stores.
PLEASE HELP

Answers

Answer:

that's a hard one maybe u should email ur teacher bc the punctuation on that is fine and it's not an incomplete sentence

Ccccccccccccccccccccccc
Other Questions
What is one major advantage of pure competition compared to an oligopoly?A. Pure competition pressures producers to keep prices lower.B. Pure competition takes greater advantage of economies of scale.C. Pure competition allows for greater investment in research,D. Pure competition is more easily regulated by the government.SUBMIT what's b-a=c-b=im confused someone help pleaseee Solve the proportion v/84 =2/21 - Austin is paid a salary of $350 weekly. What are his yearly earnings? A cargo plane weighed 400,000 pounds. A load of cargo was removed, and the plane weighed 348,963 pounds. Then, 15,358 more pounds of cargo were removed. How many total pounds of cargo were removed from the plane? HELP ME 10 points I NEED HELP TIMEDA line passes through the points (8,-1) and (-4, 2).What is the y-intercept of this line?-4-114 ?????! if b=49 degrees 13' and b=10 find a Use the Intermediate Value Theorem to show that there is a root of the given equation in the specified interval. ex = 3 2x, (0, 1) The equation ex = 3 2x is equivalent to the equation f(x) = ex 3 + 2x = 0. f(x) is continuous on the interval [0, 1], f(0) = _____, and f(1) = _____. Since f(0) < 0 < f(1) , there is a number c in (0, 1) such that f(c) = 0 by the Intermediate Value Theorem. Thus, there is a root of the equation ex = 3 2x, in the interval (0, 1) Create a multimedia blog about a social issue you have read about. State the issue and express your viewpoint to make a strong argument.Use the prompt to answer each question.What will you create?What will it be about?Who will read your writing?What is the purpose of your blog? Which graph is correct for the given equation: Y=-1/4x-4? The height of a painting is ft. Between which two consecutive whole numbers is ?Choose the correct answer below.A. and B. and C. and What is the purpose of informational text?to convey informationto share vocabularyto entertain its readersto tell a story WILL MARK BRAINLIEST FOR RIGHT ANSWER!!!!! 16 square unit rectangular grid has to be covered with six 11 square unit tiles. Three of the tiles are yellow, two are white, and one is blue. In how many ways can this task be done if:a) there are no restrictionsb) no neighbouring tiles should be the same colourc) at least one pair of neighboring tiles are the same color SOMEBODYE HELP what page in the book of Anne Frank did Anne finally appreciate her mother I will give you points and BRAINLIEST Using charge to describe an atom Help me please ;-;-;-;-; What else would need to be congruent to show that triangle EFG is equal to triangle JKL by SSS? * Please help I have 30 more minutes to answer* All of the following led to the first crusade EXCEPT:a.disputes over the Holy landc.heresy among the peasantsb.religious differences between Muslims and Christiansd.revenge toward the Jews Which expression is equivalent to -3 - 3x - 1 + x How long can it take for an Aquatic Ecosystem to develop into a terrestrial ecosystem?