Answer:
num = int(input("enter a number:"))
print(num * 8)
Explanation:
num is just a variable could be named anything you want.
if code was like this num = input("enter a number:")
and do a print(num * 8)
we get an error because whatever the user puts in input comes out a string.
we cast int() around our input() function to convert from string to integer.
therefore: num = int(input("enter a number:"))
will allow us to do print(num * 8)
Answer:
Option B i.e., mdsswitch# show Vsan membership is the correct option.
Explanation:
The following commands is used by the engineer because it displays the membership of the VSAN( virtual storage area network).
switch# command is used to enter the configuration mode. So, the engineer using the following commands to verify that the interfaces for the research department.
The answer to this is OR..I think..Hope i helped
Answer:
customers = int(input("How many customers? "))
for i in range(customers):
name = input("Name of Customer " + str(i+1) + " ")
print("Oranges are $1.40 each.")
oranges = int(input("How many Oranges? "))
print("Apples are $.75 each.")
apples = int(input("How many Apples? "))
bill = oranges * 1.4 + apples * 0.75
print(name + ", you bought " + str(oranges) + " Orange(s) and " + str(apples) + " Apple(s). Your bill is $%.1f" % bill)
Explanation:
*The code is in Python.
Ask the user to enter the number of customers
Create a for loop that iterates for each customer. Inside the loop, ask the user to enter the name, number of oranges, number of apples. Calculate the bill. Print the name, number of oranges, number of apples bought and total bill
Answer:
a reverse chronological journaling site. a user-collaborated content site, typically text in nature
Explanation:
It is the website that is based on knowledge. It is the text based site that is also called structure content.
The most common example of Wiki is Wikipedia.