Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

ACTIVITY 1 Find out what is the output: firstName = Elon lastName = Musk Country = USA yob = 1 9 7 1 print (

ACTIVITY 1
Find out what is the output:
firstName=Elon
lastName=Musk
Country=USA
yob=1971
print(firstName,LastName,'is from,country)
print(He is the founder, CEO, and Chief Engineer at SpaceX)
print(Do you want to know how old he is?)
year=(input(Enter the current year: )
age=year-yob
print(He is now turning,Age)
nodiay=365
print(Do you want to know the estimated days how old you are today?,)
yob=int(Enter your year of birth:)
ytd=int(input(Enter current year:))
def days_old(days):
print(You are,days,days old!)
days((ytd-yob)*nodiay)
find out how to display the correct output and explain it in your video presentation.
ACTIVITY 2
Create a Basic Python Program with the following requirements.
Contact Tracing Form Program
Prompt to Enter your name
Prompt to Enter your temperature
Set of Questionnaires containing symptoms of COVID19 at least 5.
Use modular codes.
Use conditional codes for each question. (YES or NO)
For the string outputs after answering all the questions:
Display the name entered and the temperature
You may be infected with COVID19! if one of the symptoms of COVID19 were answered yes.
You have no symptoms of COVID19! if all of the symptoms of COVID19 were answered no.
Please review your answer! Start over again If a question was not answered correctly (terminate the program).
*Demonstrate your Python program in your video after the Activity 1
Paste your Video Link here (Activity 1 & 2):

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions