Computers and Technology
Computers and Technology, 06.03.2020 19:59, deku6

For question 1-3, consider the following program: def tryIt(a ,b = 7) return a + b

#MAIN
n = int(input(‘Enter a number ‘))
Ans = tryIt(n) * 2
Print (ans)

1. What is output of the user enters 2?

2. What is output if the user enters -5?

3. What is output if the user enters 7?

answer
Answers: 2

Other questions on the subject: Computers and Technology

image
Computers and Technology, 23.06.2019 01:30, anggar20
Which tab is used to change the theme of a photo album slide show? a. design b. view c. transitions d. home
Answers: 1
image
Computers and Technology, 24.06.2019 02:10, trint5952
Aspeed limit sign that says "night" indicates the legal speed between sunset and sunrise.
Answers: 2
image
Computers and Technology, 24.06.2019 07:50, treytonmesser
Write a defining table and then a program that determines if you can sleep in or not. your program should get all its input from your computer’s clock. on all weekdays (monday through friday) that are not holidays, your program should output “get up! ” on all other days (weekends and holidays), your program should output “sleep in.” the three holidays that your program must check for are january 1 (new year’s day), july 4 (u. s. independence day), and december 25 (christmas). you don’t need to include other holidays in your program because most other holidays do not occur on a fixed day each year.
Answers: 1
image
Computers and Technology, 25.06.2019 05:00, adajadavis2843
Which of the following statements best deceive the relationship between carrying capacity and population size
Answers: 1
Do you know the correct answer?
For question 1-3, consider the following program: def tryIt(a ,b = 7) return a + b

#MAIN...

Questions in other subjects:

Konu
Mathematics, 24.06.2020 02:01
Konu
Mathematics, 24.06.2020 02:01
Konu
Mathematics, 24.06.2020 02:01