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
alina1380 [7]
2 years ago
8

How to print something nad input on same line python

Computers and Technology
1 answer:
Serhud [2]2 years ago
7 0
To get everything on one line with two inputs is not (easily) achievable, as far as I know. The closest you can get is: print 'I have', a=input() print 'apples and', p=input() print 'pears. '
You might be interested in
Why is it necessary to declare an array in Java? Choose the best answer.
xxMikexx [17]

Importance of array in Java

Following are some important points about Java arrays. Since arrays are objects in Java, we can find their length using the object property length. Java array can be also be used as a static field, a local variable or a method parameter. The size of an array must be specified by an int or short value and not long.

6 0
3 years ago
Read 2 more answers
Some commands listed in a menu cannot be selected.<br><br><br> True or False
bogdanovich [222]
True! Have a nice week
4 0
3 years ago
Read 2 more answers
Which image file format consumes the most file<br> space?<br> 0<br> GIF<br> JPEG<br> PNG
gogolik [260]

Answer: jpeg becauuse itss correct

5 0
3 years ago
Match the type of energy with it's correct description
lesya [120]
This is the energy that all moving objects have.
potential energy

This is the type of energy that is given off as a result of electrons (charges!) moving through a conductor.


This is the energy of motion and position - Kinetic Energy and Potential Energy are included here.
Kinetic Energy + Potential Energy = Mechanical Energy

This is energy that is transmitted through vibrations.
Sound Energy

This is stored energy, waiting to be used!
Kinetic Energy

This is the only form of energy we can see with our eyes!
Light Energy

This is heat energy! It can be transferred through conduction, convection, or radiation.
Thermal Energy
8 0
3 years ago
Consider the language defined by the following regular expression. (x*y | zy*)* Does zyyxz belong to the language? Yes, because
Mrrafil [7]

Answer:

Consider the language defined by the following regular expression. (x*y | zy*)* 1. Does zyyxz belong to the language?

O. No, because zyy does not belong to x*y nor zy*

2. Does zyyzy belong to the language?

Yes, because both zy and zyy belong to zy*.

Explanation:

4 0
3 years ago
Other questions:
  • The main circuit board in a computer is called the ________. RAM dongle motherboard power supply unit
    14·1 answer
  • Why would a person who handles electronic components wear a grounded wrist strap
    13·1 answer
  • Three business partners are forming a company whose name will be of the form "name1, name2 and name3". however, they can't agree
    13·1 answer
  • 06.04 what's the big idea?
    15·1 answer
  • Explain how it makes you feel that you must share the road with others
    15·1 answer
  • Which of these are variables in an organization? Choose three.
    9·1 answer
  • Renée’s job entails using a company laptop to constantly open other peoples’ workbooks, sorting the data, importing a new sheet
    15·1 answer
  • Which section of a PCM is responsible for sending the proper reference voltage to many of the sensors?
    7·1 answer
  • Which protocol makes a connection, checks whether the data is received, and resends it if it is not?
    12·1 answer
  • A(n) _____ is the address of a document or other file accessible on the internet.
    8·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!