1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
kaheart [24]
3 years ago
5

Write a Python program that prints your name, CS classes taken (or other relevant experience), and the date on separate lines. U

se one variable each for the month, day, and year (3 total). Make sure there are no spaces between the forward slash and numbers. Submit the .py file. Sample Run: My name is Steven Allbee I have taken CS 10 - Python Programming Today's date is 1/17/19
Computers and Technology
1 answer:
BigorU [14]3 years ago
7 0

Answer:

The program in Python is as follows:

name = input("Name: ")

course = input("Course: ")

month = input("Month: ")

day = input("Day: ")

year = input("Year: ")

ddate = (month+"/"+day+"/"+year).replace(" ", "")

print("My name is ",name)

print("I have taken  ",course)

print("Today's date is ",ddate)

Explanation:

This line prompts user for name

name = input("Name: ")

This line prompts user for course classes taken

course = input("Course: ")

This line prompts user for month

month = input("Month: ")

This line prompts user for day

day = input("Day: ")

This line prompts user for year

year = input("Year: ")

This line calculates the date and remove all blank spaces

ddate = (month+"/"+day+"/"+year).replace(" ", "")

The next three lines print the user inputs

print("My name is ",name)

print("I have taken  ",course)

print("Today's date is ",ddate)

You might be interested in
3.14 LAB: Input and formatted output: Caffeine levels A half-life is the amount of time it takes for a substance or entity to fa
nata0808 [166]

Answer:

#include <iostream>

#include <iomanip>

using namespace std;

int main()

{

double caffeineMg;

cin>>caffeineMg;

cout<<"After 6 hours: "<<fixed<<setprecision(2)<<caffeineMg/2.0<<" mg\n";

cout<<"After 12 hours: "<<fixed<<setprecision(2)<<caffeineMg/4.0<<" mg\n";

cout<<"After 24 hours: "<<fixed<<setprecision(2)<<caffeineMg/8.0<<" mg\n";

return 0;

}

Explanation:

  • Declare a variable for caffeine and take the input from user.  
  • Print the results by dividing the caffeine by relevant Half Life.
  • Use setprecision function to display the result up to 2 decimal places.
8 0
3 years ago
Match the IT role to the best description:
Bad White [126]

1. Use many of the same skills and technologies as Web application developers to create applications for devices such as smartphones and tablets - Mobile Application Developers

2. Websites designed specifically for mobile device browsers - Web Architects

3. Applications created specifically for mobile operating systems, such as Google Android or Apple iOS - Mobile Apps

4. They consult with the management team and Website users to design and implement the plan for developing and maintaining the organization's Website - Interface Designer  

5. use Web programming languages or products to develop Websites, generally for Web server applications - Web Application Developers  

<u>Explanation:</u>

The definitions and its terms are self explanatory. A <em>mobile application developer</em> will develop applications for mobiles and other gadgets.

<em>Mobile Websites</em> can be accessed only from browsers of mobile.

<em>Android or iOS</em> are the operating system designed for Mobile.

Interface designers develop designs for websites.

<em>Web app developers</em> develop websites using web programming languages.

7 0
3 years ago
What does dram stand for?
Sati [7]
Dynamic random-access memory
4 0
3 years ago
Read 2 more answers
Complete the sentence about entering and editing data in a cell in a spreadsheet.
Cloud [144]

Answer:

1. Select the cell, click and start typing

2. Select the cell, click and start typing

Explanation:

To enter data in a cell in a spreadsheet, select the cell, click and start typing.

To overwrite data in a cell, select the cell, click and start typing.

A spreadsheet is an application that is used for entering, organizing, analyzing, interpreting and storing data. It a relatively simple application and an example is Microsoft Excel. The easiest way to enter data into a spreadsheet is to select the cell, click and start typing. Overwriting an already existing data can be done in the same manner in which data is entered into a cell - selecting the cell, clicking and start typing.

3 0
3 years ago
Read 2 more answers
LAB: Miles to track laps. (PLEASE CODE IN PYTHON)
bekas [8.4K]

Answer:

The program in python is as follows:

def miles_to_laps(user_miles):

     return (user_miles/0.25)

mile = float(input("Number of Miles: "))

print("Number of laps: ",end="")

print('{:.2f}'.format(miles_to_laps(mile)))

Explanation:

The first line defines the function miles_to_lap

def miles_to_laps(user_miles):

This line returns the equivalent number of laps

     return (user_miles/0.25)

The main method starts here

This line prompts user for input

mile = float(input("Number of Miles: "))

This line prints the string "Number of laps", without the quotes

print("Number of laps: ",end="")

This prints the equivalent number of laps to two decimal places

print('{:.2f}'.format(miles_to_laps(mile)))

3 0
3 years ago
Read 2 more answers
Other questions:
  • An automobile battery, when connected to a car radio, provides 12.5 V to the radio. When connected to a set of headlights, it pr
    11·1 answer
  • What must you do to enable the members of the rome backup group to perform backup operations on the local system?
    6·1 answer
  • Which of the following types of servers can be used to cache requested Internet resources so that they can be more quickly deliv
    6·1 answer
  • Data entry is the process of getting information into a database. true false
    6·2 answers
  • ____ is the control or suppression of what can be accessed, published, or viewed on the internet.
    7·1 answer
  • Differences between electromechanical era and electronic era in point.<br>PLZ HELP​
    6·1 answer
  • Different video files and ______ can cause compatibility issues to arise between computer systems.
    8·1 answer
  • Chapter 8 discusses five principles for making a graphic clear and understandable. One principle is that the graphic should have
    11·1 answer
  • A user generates printouts consisting of several pages of seemingly random characters every time he prints to a network printer.
    5·1 answer
  • 3. For “Incident Energy Analysis” What body parts are involved in the distance
    6·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!