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
ankoles [38]
3 years ago
6

Write a method called multiconcat that takes a string and an integer as parameters. return a string that consists of the string

parameter concatenated with itself count times, where count is the integer parameter. for example, if the parameter values are "hi" and 4, the return value is "hihihihi". return the original string if the integer parameter is less than 2
Computers and Technology
1 answer:
iren2701 [21]3 years ago
6 0
Def multiconcat( string, number ):
    retString = ""
    for i in range( number ):
        retString += string
    return( retString )
You might be interested in
Consider the formula: G=D+(A+C^2)*E/(D+B)^3 Show the order that a processor would follow to calculate G. To do so, break down th
motikmotik

Answer:

1. G=D+(A+C^2)*E/(D+B)^3

cobegin:

p1: (D+B)

p2: p1^3

p3: C^2

p4: A+ p3

p5: E/p2

p6: p4 * p5

p7: D + p6

   :G

coend

2. Now The value A=2, B=4, C=5, D=6, and E=8

p1: 6+4 =10

p2: p1 ^3= 10^3= 1000

p3: c^2= 5^2 =25

p4: A + p3= 2 +25 =27

p5: 8/1000

p6: 27 *8/1000

p7: D+ P6= 6+ 216/1000

      = 6216/1000

      =6.216

Explanation:

The above, first bracket with power is processed, and then power inside and outside bracket. And rest is according to BODMAS, and one process is solved at a time.

4 0
3 years ago
John would like to move from the city into the suburbs and has been saving up a large down payment for a home. Which is the most
fenix001 [56]
I there any answer choices ?


5 0
4 years ago
PYTHON CODING LANGUAGE (i am a beginner)
MaRussiya [10]
#let the user input data
Hours = int(input(“enter how many hours were worked”))

Pay_rate = float(input(“Enter the pay rate”))

Pay_amount = Pay_rate * Hours
#calculate the wages


Print (Pay_amount)
#print the final answer
5 0
3 years ago
This is me lol jjaaaabbooo
ElenaW [278]

i like your glasses uwu

6 0
3 years ago
Select all the lines that have a slope of 5/2
sweet-ann [11.9K]

Answer:

Add a picture, then ask the question again.

5 0
3 years ago
Other questions:
  • Tablets combine the features of which two types of devices?
    10·2 answers
  • I NEED HELP PLEASE ITS TIMED
    9·1 answer
  • An administrator wants to configure hosts to automatically assign IPv6 addresses to themselves by the use of Router Advertisemen
    14·1 answer
  • What type of control repairs the effects of damage from an attack? Physical control Technical control Corrective control Logical
    5·1 answer
  • In apersuasive message, opposing ideas should be:
    13·1 answer
  • Which of these identifies the intersection of row 16 and column D?
    14·1 answer
  • Alright, so I have a wireless mouse that uses a dongle (it's not Bluetooth nor wired). But recently I realized that none of the
    12·1 answer
  • Match the index with the value
    14·1 answer
  • How has the dependence on technology made humanity less intelligent?​
    15·1 answer
  • 10. Site-to-Site VPN architecture is also known as
    6·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!