Write a python program to add ded at the end of a given word

Assignment Help Computer Engineering
Reference no: EM132212326

Question

Write a Python program to add 'ded' at the end of a given word (length should be at least 3). If the given string already ends with 'ded' then add 'ing' instead.

If the string length of the given string is less than 3, leave it unchanged.

For example if the word is ‘Hello' your print out should say Helloded

If your word is ‘graded', your print should say gradeding.

If your word is ‘at', it should print ‘at'

Hint use an if statement, but again that is not the only way to answer this question.

Reference no: EM132212326

Questions Cloud

Define forms of accounts receivable confirmation requests : Identify and describe the two forms of accounts receivable confirmation requests and indicate what factors Dodge will consider in determining when to use each.
Write a code that collects from the user a single integer : Write a Python program that collects from the user a single integer. Have the program print "EVEN" if the integer is divisible by 2.
Where is that amount recorded and method is used : Do you know Alphabet? We are not talking about the A to Z alphabet, but one of the wealthiest corporations in the world. It is actually a holding company.
Which benefits is rhodes experiencing after watching film : Rhodes came out of the cinema theater baffled at the effect of graphics and animation the movie had over him. He reiterates that the visual effects used.
Write a python program to add ded at the end of a given word : Write a Python program to add 'ded' at the end of a given word. If the given string already ends with 'ded' then add 'ing' instead.
What is the name for the accounts receivable reserve : Do you know Alphabet? We are not talking about the A to Z alphabet, but one of the wealthiest corporations in the world. It is actually a holding company.
Determine the median selling price of all homes : Determine the median selling price of all homes in a subdivision named Botany Bay sold during one year.
Identify qantas critical success factors : Qantas is a large ASX listed company that operates internationally and domestically. Access Qantas's most recent annual report and complete the following tasks.
Compute the velocity of a parachutist exactly and numerical : Write pseudocode for a function that computes the velocity of a parachutist exactly and numerically as a function of time from 0s to 30s using Euler's method.

Reviews

Write a Review

Computer Engineering Questions & Answers

  Calculate the amount given to customer based on their total

Write a program using functions that calculate the amount given to a customer based on their total The program premps the to either an item choice.

  Data set contains a total of n numbers

A data set has a median of 43, and four of the numbers in the data set are less than median. The data set contains a total of n numbers.

  Manually displaying the database tables before and after

Create an HTML Form that allows the above attributes to be added/deleted to the data base by transmitting the form's input variables

  Should mommas use global hotels information systems

Consider issues such as business profiles, business processes, system interactivity, EDI, ecommerce, and the characteristics of both information systems.

  Write program that determines a meeting room is in violation

Write a program that determines whether a meeting room is in violation of fire law regulations regarding the maximum room capacity.

  Write an application that retrieves a student name

Write an application that retrieves a student name and three scores per line from a text file. Process values by calculating the average of scores per student.

  Select from empn list people who were born in september

What is the difference between print and print $0? Select from empn.lst the people who were born in either September or December.

  Which one would you install and why

Suppose you are building a computer system from scratch and have complete discretion as to your choice of operating system. Which one would you install and why?

  Create a movie with boxes growing and shrinking in it

Create a movie with boxes growing and shrinking in it. Draw patterns by creating joe and jane, then move a little and draw, grow a little and draw.

  Write a program that allow s users to encrypt files

We will implement two simple encryption methods. Have the following GUI components: Have a button that when pressed opens a FilcChooscr.

  Create an application that gets customer account data

Create an application that gets customer account data, including an account number, customer name, and balance due.

  How does a dual-slope a-d converter work

What is Shannons sampling criterion? How does a successive approximation A/D convener work?

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd