Task 1:
float75 = float(75)
string75 = "75"
# you cannot add together a number and a string because a string has no inherent numerical value like a number does.
Task 2:
num = float(input("Enter a number"))
print(num**2)
Task 3:
num = int(input("Enter an integer: "))
print("When you divide "+str(num)+" by 7, the quotient is "+str(num//7)+" and the remainder is "+str(num%7)+".")
Task 4:
gigs = int(input("How many gigabytes does your flashdrive hold? "))
print("A flashdrive with "+str(gigs)+ " gigabyte(s) holds "+str(gigs*8589934592)+" bit(s).")
For task 4, you might have to change the number 8589934592 to something else. I'm not entirely sure how many bits are in a gigabyte. I hope this helps though.
Google, would be the best because of all of the different site, hope this helps!
: )
Answer:
<em>Solution</em>:
The statements are listed below.
<em>(A) Functional requirement </em>
- Functional specifications refer to the handling of calls.
- Minimum call number should be 3000, and a functional requirement.
<em>(B) Non-functional requirement</em>
- Non-functional requirement is the default option.
- Payment in "Visa" is required and this is not a functional requirement.
<em>(C) Data requirements</em>
- Data requirements apply to quantity of order.
- When the quantity of data exceeds then an exception should be notified
<em>(D) Business requirements. </em>
- Product reviews are subject to business requirements.
Kobe was the best basketball player R.I.P