Answer:
import random
score = 0
for i in range(5):
num1 = random.randint(1, 100)
num2 = random.randint(1, 100)
prompt = "What is " + str(num1) + "+" + str(num2) + "?"
answer = int(input(prompt))
result = (num1, num2)
if answer == result:
print("Well done!")
score += 1
else:
print("incorrect")
print("Your score was", score)
Explanation:
Your error is on <em>line 7</em>, where you are providing multiple arguments to the input function, instead of 1.
One way to solve this is to create a variable prompt and concatenate all strings and variables within that variable to use for the input.
The option which is not correct concerning database design is identify all fields needed to produce the required information.
What is database design?
The database design is the arrangement of the data or the information, according to the model of database.
Let's check all the option one by one,
- Identify all fields needed to produce the required information- This does not concern with the database design.
- Group related fields into tables-A relation database design consist of one or more than one related table. These tables are used together when the information is required.
- Determine each table's primary key- To determine the table's primary key, is the concern with the database design.
- Organize each piece of data into its largest useful part-The database design is the organization of data in the model of database.
The option which is not correct concerning database design is identify all fields needed to produce the required information.
Learn more about the database design here;
brainly.com/question/25694408
Answer:
Explanation: Jekyll. Jekyll is far and away the most popular static site generator. ...
Hexo. Hexo is a build tool created with nodeJS, which allows for super speedy rendering, even with extremely large sites
and Hugo
I hope this help =D
This is what I come up with. I'm unclear what the 4th requirement means, so I've labeled it #unclear.
a { color : red; }
p:not(:first-child) { text-indent: 5%; }
div { background-color: aqua; }
#unclear { width: 50%; margin-left: 25%; margin-right: 25%; }
.links:link { font-size 24px; background-color: yellow; }
#first { text-transform: uppercase; font-style: italic; }