c. print python code that requests a person's first name, birth year, birth month like 'January', and birth day of month as input, then outputs a full sentence using the three inputs and another sentence that tells the length of the previous sentence that was printed.. Include one line of comment explaining each line of code:
d., print python code that assigns the 4 variables shown in step 8 the math formulas created in step 8. Output a sentence that labels and shows the values of num1 and num2 as integers and num3 and num4 as float values. c.
Hello,
Python code for part C is as follows
firstName= input("Tell me your first Name : "); '
function is used to take input'
birthYear= input("Enter the Year of birth: ");
birthMonth=input("Enter the Month of birth (like January, Febuary
etc.): ");
birthDay=input("Enter day of birth (date from month like 10,20 31
etc.): ");
sentence= firstName +" was bourn on "+ birthDay+", "+birthMonth+" "+birthYear; 'Making a sentence (string) from inputs taken'
print(sentence); ' printing sentence'
length=len(sentence);
print("Length of sentence is ", length); 'Printing Length of Sentence'
c. print python code that requests a person's first name, birth year, birth month like 'January',...
print python code that requests a person's first name, birth year, birth month like 'January', and birth day of month as input, then outputs a full sentence using the three inputs and another sentence that tells the length of the previous sentence that was printed.. Include one line of comment explaining each line of code
using this code to complete. it python 3.#Display Program Purpose print("The program will show how much money you will make working a job that gives a inputted percentage increase each year") #Declaration and Initialization of Variables userName = "" #Variable to hold user's name currentYear = 0 #Variable to hold current year input birthYear = 0 #Variable to hold birth year input startingSalary = 0 #Variable to hold starting salary input retirementAge = 0 #Variable to hold retirement age input...