Answer:
The program to this question can be given as:
Program:
def swap_values(user_val1, user_val2): #define function
return (user_val2, user_val1) #return values
if __name__ == '__main__': #define constructor.
n1 = int(input('Enter first number :')) #input value form user
n2 = int(input('Enter second number :')) #input value form user
(n1,n2) = swap_values(n1,n2) #hold function values.
print(n1) #print values
print(n2) #print values
Output:
Enter first number :3
Enter second number :8
8
3
Explanation:
The explanation of the above python program can be given as:
- In the python program we define a function that is "swap_values". This function takes two integer values that is "user_val1 and user_val2" as a parameters and returns variable values that is "user_val2 and user_val1".
- Then we use a constructor in this we define two variable that is "n1 and n2" these variable are use to take user-input from the user and pass the value into the function.
- To hold the value of the function we use n1 and n2 variable and print these variable value.
Answer:
Replace
if userAge > 20
with
userAge > 19
Explanation:
if userAge > 20 checks if age is 21, 22, 23, 24........
The else condition which prints "I am a teenager" checks if age is 20, 19, 18....
Notice that 20 is inclusive of the else condition; this shouldn't be because for userAge to be less than 20, 20 isn't inclusive
To solve this,
Replace if userAge > 20 with userAge > 19
So that, the else
The else condition which prints "I am a teenager" checks if age is 19, 18, 17, 16....
The parts of the presentation that he should design first is Slide master
Slide master is a slide that enables you to do the following:
•Modify your presentation to suit your taste
•It enables you to make a partial or minor change on the slide layout of your presentation
•Slide master help you to create a perfect and special presentation.
•With Slide master you can easily modify your slide text color.
Inconclusion The parts of the presentation that he should design first is Slide master.
Learn more about Slide master here:
brainly.com/question/12600334
Answer: When was admitted, hospital authorities recorded his medical history. Then, placed in an ICU where his vital signs were constantly monitored.
Explanation: With the help of computers, medical histories are often kept in the computer for future reference. Machines are connected to computers to record vital signs.
It encourages users to revisit your website.