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

  Mathematics in computing

Binary search tree, and postorder and preorder traversal Determine the shortest path in Graph

  Ict governance

ICT is defined as the term of Information and communication technologies, it is diverse set of technical tools and resources used by the government agencies to communicate and produce, circulate, store, and manage all information.

  Implementation of memory management

Assignment covers the following eight topics and explore the implementation of memory management, processes and threads.

  Realize business and organizational data storage

Realize business and organizational data storage and fast access times are much more important than they have ever been. Compare and contrast magnetic tapes, magnetic disks, optical discs

  What is the protocol overhead

What are the advantages of using a compiled language over an interpreted one? Under what circumstances would you select to use an interpreted language?

  Implementation of memory management

Paper describes about memory management. How memory is used in executing programs and its critical support for applications.

  Define open and closed loop control systems

Define open and closed loop cotrol systems.Explain difference between time varying and time invariant control system wth suitable example.

  Prepare a proposal to deploy windows server

Prepare a proposal to deploy Windows Server onto an existing network based on the provided scenario.

  Security policy document project

Analyze security requirements and develop a security policy

  Write a procedure that produces independent stack objects

Write a procedure (make-stack) that produces independent stack objects, using a message-passing style, e.g.

  Define a suitable functional unit

Define a suitable functional unit for a comparative study between two different types of paint.

  Calculate yield to maturity and bond prices

Calculate yield to maturity (YTM) and bond prices

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