Answer:
85
Explanation:
jdjdjdjfjfjcjjcjrtgtggtfg g hi i
Create a function generateString(char, val) that returns a string with val number of char characters concatenated together. For example generateString('a', 7) will return aaaaaaa. Additionally create the code to run your function and print out the new string.
Explanation:
<u>CODE :</u>
import sys
import random
character= sys.argv[1]
count= int(sys.argv[2])
def generateString('char', count):
random = char * count
return random
print(character*count)
<u>OUTPUT :</u>
In the above code, you are accepting a character, and a count value to go with it. When the value is updated, character is multiplied with the count, and the output is generated accordingly
def something(string1, string2):
return True if string2 in string1 else False
This would be the most concise way of writing this function.
Answer:
development, assessment, showcase
Explanation:
A showcase portfolio contains products that demonstrate how capable the owner is at any given moment. An assessment portfolio contains products that can be used to assess the owner's competences. A development portfolio shows how the owner (has) developed and therefore demonstrates growth.
The statement that best describes how the programming layer of abstraction in a computing system functions is that It provides an interface for users to input data.
<h3>What is the abstraction about?</h3>
In computer science, an abstraction layer is known to be full generalization of a kind of concept or algorithm, that is seen far from any particular implementation.
Note that generalizations is due to a lot of similarities that are best contained by models that shows similarities present in a lot of specific implementations.
Therefore, The statement that best describes how the programming layer of abstraction in a computing system functions is that It provides an interface for users to input data.
Learn more about abstraction from
brainly.com/question/7994244
#SPJ1