Write a program that takes a string of words

Assignment Help Other Subject
Reference no: EM132374504

Introduction to Programming Group Assignment -

Purpose of the assessment - Assess student's ability to develop algorithmic solutions to programming problems using Python language.

Group Assignment Specifications

Purpose: This assignment evaluates your understanding of basic programming principles using Python language. In particular, it assesses your ability to develop algorithms to solve simple problems, successfully develop and run python programs, and your ability to write meaningful comments when necessary. The assignment also provides a platform for students to work together in groups to develop solutions, which resembles how complex programming problems are solved in real-life.

1. Pythonize is a new language, that is similar to English, however the first letter of each word in Pythonize is moved to the end. Furthermore, each word in this new language ends with 'py'. Write a program that takes an English word as an input and prints the Pythonize equivalent on the screen. (Save your script as pythonize.py and pythonize.txt)

Notice that the first letter in a Pythonize word is capitalized (as it is the case in English).

2. Write a program that calculates the average of numeric values in a string and ignores all other characters. Your program must print the sum and average on the screen. (Save your script as spotNumbers.py and spotNumbers.txt)

Hint: Consider using type build-in function in your code. Also, see documentation or exception handling in Python as it may prove to be handy in your code.

3. Write a program that takes a string of words, and prints out these words one per line in a rectangular format (using # shape). The output must be properly formatted. (Save your script as tabularFormat.py and tabularFormat.txt)

Attachment:- Introduction to Programming Assignment File.rar

Reference no: EM132374504

Questions Cloud

Describe the stages of the conflict process : Review the four stages of the conflict process. Do all persons involved in conflicts experience all four stages of conflict? Why or why not?
Differences between bullying and discrimination : What are differences and similarities between bullying and discrimination within the workplace? 2 paragraphs and references. The response must be typed.
Amend the business model canvas to incorporate : Assessment - Idea Selection and Business Pitch. Revised Business Model (Amend the business model canvas to incorporate the above revisions)
Discuss the concepts of role strain and role stress : Discuss the concepts of role strain and role stress. Relate these concepts to nurse managers with respect to their positive role modeling.
Write a program that takes a string of words : Write a program that takes a string of words, and prints out these words one per line in a rectangular format (using # shape)
How can the nurse support theory to return the patient : Johnson viewed health as efficient and effective functioning of the system, and as behavioral system balance and stability. Behavioral system balance.
What are unmet health care needs you see in your community : What are the unmet health care needs you see in your community? What determinants of health are related to these unmet needs and what determinants require.
Two-tier wage systems : When and why does an organization need to do Two-tier wage systems? Is it apply on new employees or experienced employees or both?
Discuss scientific communication from an ethical perspective : Discuss scientific communication from an ethical perspective and how the scientific community attempts to monitor the information that is communicated.

Reviews

Write a Review

Other Subject Questions & Answers

  Cross-cultural opportunities and conflicts in canada

Short Paper on Cross-cultural Opportunities and Conflicts in Canada.

  Sociology theory questions

Sociology are very fundamental in nature. Role strain and role constraint speak about the duties and responsibilities of the roles of people in society or in a group. A short theory about Darwin and Moths is also answered.

  A book review on unfaithful angels

This review will help the reader understand the social work profession through different concepts giving the glimpse of why the social work profession might have drifted away from its original purpose of serving the poor.

  Disorder paper: schizophrenia

Schizophrenia does not really have just one single cause. It is a possibility that this disorder could be inherited but not all doctors are sure.

  Individual assignment: two models handout and rubric

Individual Assignment : Two Models Handout and Rubric,    This paper will allow you to understand and evaluate two vastly different organizational models and to effectively communicate their differences.

  Developing strategic intent for toyota

The following report includes the description about the organization, its strategies, industry analysis in which it operates and its position in the industry.

  Gasoline powered passenger vehicles

In this study, we examine how gasoline price volatility and income of the consumers impacts consumer's demand for gasoline.

  An aspect of poverty in canada

Economics thesis undergrad 4th year paper to write. it should be about 22 pages in length, literature review, economic analysis and then data or cost benefit analysis.

  Ngn customer satisfaction qos indicator for 3g services

The paper aims to highlight the global trends in countries and regions where 3G has already been introduced and propose an implementation plan to the telecom operators of developing countries.

  Prepare a power point presentation

Prepare the power point presentation for the case: Santa Fe Independent School District

  Information literacy is important in this environment

Information literacy is critically important in this contemporary environment

  Associative property of multiplication

Write a definition for associative property of multiplication.

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