Answer:
where is the question ???? breh
Answer:
The correct answer is:
Option 1: export the query results from the database to a spreadsheet, then export the graph to a document.
Explanation:
Spreadsheets are used to represent numerical data, perform calculations and display the results numerically or graphically.
When using a database, the query results can be exported to other software using the query web address.
So in order to include the graph in her report, Serena will export the result to spreadsheet and then export the graph to document.
Hence,
The correct answer is:
Option 1: export the query results from the database to a spreadsheet, then export the graph to a document.
Answer:
The answer is "Line 13".
Explanation:
In the given code first, a header file is included for using basic function, In the next line the main method is defined in this method two-pointer variable is declared that is "numbers1 and numbers2", in which variable numbers1 holds a value that is "NULL".
- In the next line, both variable uses malloc() function that is used to allocate memory in heap, and in this function, sizeof() function is used that print its size and also increase its value.
- In the next step, a pointer variable numbers1 assigns a value and another variable numbers2 assigns numbers1 variable value and changes the numbers1 variable.
import random
rock,paper,scissors = 1,2,3
choice = int(input("Please choose 1 2 or 3: "))
computer = random.randint(1,3)
player_won = False
draw = False
if choice == computer:
draw = True
elif choice == 1 and computer == 3:
player_won = True
elif choice == 2 and computer == 1:
player_won = True
elif choice == 3 and computer == 2:
player_won = True
if player_won:
print("You won!")
elif not player_won and not draw:
print("The computer won!")
else:
print("It's a draw!")
First, I recommend importing at the beginning of your program. Also, you can combine all your same datatype variables in one line. You also need to cast your user choice to an integer so you can compare it with the computer's choice. I wrote the if, elif, and else statements using a boolean variable. I simply wrote all the possibilities that would result in the player winning and this would result in the player_won variable being true. If this is the case, we print to the console, "You won!"