subject

Def average(a, b): total = = a + b
return total / 2
ave =
average(7,11)
print("Total", total)
print ("Average", ave)

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 00:40
Reading characters and strings from the keyboard: consider the following c++ program 1. #include 2. #include 3. using namespace std; 4. mystring1 5. 6. int main() 7. { 8. 9. string mystring1, mystring2; mychar1 10. 11. 12. char mychar1, mychar2; 13. 14. cout< < "enter a string: "; mychar2 15. 16. cin> > mystring1; // 17. cin.get(mychar1); 18. cin> > mychar2; 19. getline(cin,mystring2); mystring2 20. 21. 22. cout<
Answers: 1
question
Computers and Technology, 23.06.2019 00:30
Quic which one of the following is the most accurate definition of technology? a electronic tools that improve functionality b electronic tools that provide entertainment or practical value c any type of tool that serves a practical function d any type of tool that enhances communication
Answers: 1
question
Computers and Technology, 24.06.2019 11:00
Each row in a database is a set of unique information called a(n) ? a.) table. b.) record. c.) object. d.) field.
Answers: 2
question
Computers and Technology, 24.06.2019 20:20
Write python code that prompts the user to enter his or her age and assigns the user’s input to an integer variable named age.
Answers: 1
You know the right answer?
Def average(a, b): total = = a + b
return total / 2
ave =
average(7,11)
pri...
Questions
question
Mathematics, 28.05.2020 05:58
question
Mathematics, 28.05.2020 05:58
question
Mathematics, 28.05.2020 05:58
question
Mathematics, 28.05.2020 05:58
question
Mathematics, 28.05.2020 05:58
question
Social Studies, 28.05.2020 05:58