1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Dominik [7]
4 years ago
11

Write a program which reads an integer from input using pancakes = int(input()). If pancakes is more than 3, print out Yum! and

if pancakes is not more than 3, print out Still hungry!
Computers and Technology
1 answer:
olga nikolaevna [1]4 years ago
4 0

Answer:

pancakes = int(input("Enter number of pancakes "))

if pancakes>3:

 print("Yum!")

else:

 print("Still hungry!")

Explanation:

It is a very simple program in python programming language

The input function is used to prompt user to enter a value for the variable pancakes

Using if and else constructs the program outputs Yum! or Still Hungry

You might be interested in
Which company was the maker of the number one software suite in the world in the 1990s?
Korolek [52]
Microsoft was the maker of number one software
7 0
4 years ago
The following code should take a number as input, multiply it by 8, and print the result. In line 2 of the code below, the * sym
Juli2301 [7.4K]

Answer:

num = int(input("enter a number:"))

print(num * 8)

Explanation:

num is just a variable could be named anything you want.

if code was like this num = input("enter a number:")

and do a print(num * 8)

we get an error because whatever the user puts in input comes out a string.

we cast int() around our input() function to convert from string to integer.

therefore: num = int(input("enter a number:"))

will allow us to do  print(num * 8)

6 0
4 years ago
Hshshehehusjshsjsjjdjdj dhdjdhnd
Colt1911 [192]

Answer:

They do not make sense

Explanation:

When alphabets are arranged like this, it makes no sense.

8 0
4 years ago
To align your text you can choose the margin in what setting option in Microsoft Word ​
vlada-n [284]

1. Launch Microsoft Word 2010 and open the document containing text you want to justify. Click the "Page Layout" tab at the top of the window and then click the small button in the bottom-right corner of the Page Setup section of the menu bar.

2. Click the "Margins" tab at the top of the window. Adjust the values in the Left and Right fields to change the amount of white space that appears on the sides of the document after justifying the text. By default, Word 2010 places one-inch margins on both sides of the page. To reduce the margin size by half on both sides, type ".5" in both fields. Click "OK" to save your settings.

3. Click and drag the mouse pointer to highlight the text you want to justify.

4. Click the "Home" tab at the top of the window and then click the "Justify" button in the Paragraph section of the menu bar; alternatively, press "Ctrl" and "J" simultaneously. Word may not automatically justify the final line of a paragraph because doing so creates large spaces between the words. To justify the final line, continue.

5. Click to place the cursor at the end of the final line of highlighted text and then press "Shift" and "Enter" simultaneously to justify the line.

Justify Vertically

1. Launch Microsoft Word 2010 and open the document containing text you want to justify. Click and drag the mouse pointer to highlight the text.

2. Click the "Page Layout" tab, click the button in the lower-right corner of the "Page Setup" section of the menu bar and select the "Margins" tab in the new window.

3. Adjust the values in the Top and Bottom fields to change the amount of white space that appears on the top and bottom of the document after justifying the text.

4. Click the "Layout" tab and then select "Justified" in the drop-down menu next to Vertical Alignment.

5. Choose "Selected Sections" in the "Apply to" drop-down menu at the bottom of the window and click "OK."

6 0
3 years ago
Read 2 more answers
Julie is trying to decide weather or not to add a color scheme to her presentation and she asks you for your advice u should adv
otez555 [7]
Of course you should!!!! I am considered the tech guy at my school. Go for it. 
6 0
4 years ago
Other questions:
  • Typically homes ___________ over time and cars ______________ over time.
    6·2 answers
  • Which statement is true of arrays? A) Array elements cannot be reset after the array is declared. B) Only whole numbers can be s
    10·1 answer
  • Modern processors today utilize _____ when fetching instructions as a means of predicting where the branch will go and even begi
    13·1 answer
  • Berikan contoh perameter sebuah meja.​
    12·1 answer
  • Which of the following is a correctly named cell?<br> B8<br> BB-8<br> 8-B<br> 8B
    11·1 answer
  • Variable index has a value of 4, and variable accessValid has a value of False. What value does variable, accessPoints, have aft
    7·1 answer
  • Hy plzz help me friends​
    5·2 answers
  • Create a high-level plan to perform a gap analysis for Fullsoft Inc
    7·1 answer
  • Write a function isCString which accepts as arguments a const pointer to a char array and an integer for the size of the array
    12·1 answer
  • The \t and \n are examples of one of Python's escape characters.<br><br> A. True<br> B. False
    11·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!