String Manipulation - 101 Computing https://www.101computing.net Boost Your Programming Skills! Fri, 30 Aug 2024 20:54:45 +0000 en-US hourly 1 https://www.101computing.net/wp/wp-content/uploads/101-1-100x100.png String Manipulation - 101 Computing https://www.101computing.net 32 32 String Slicing in Python https://www.101computing.net/string-slicing-in-python/ Tue, 22 Oct 2019 16:34:56 +0000 https://www.101computing.net/?p=9549 String? In computer science, a string is a piece of text or a collection of characters. String Length? The length of a string represents the number of characters it contains. In pyhon you can use the function len() to find

The post String Slicing in Python first appeared on 101 Computing.

]]>
Text Alignment Challenge https://www.101computing.net/text-alignment-challenge/ Mon, 26 Jun 2017 09:45:44 +0000 http://www.101computing.net/?p=4764 This challenge focuses on the use of string manipulation techniques in order to format the output when printing text on the screen. Step 1: Reverse Engineering First look at the code provided above and use this code to answer the

The post Text Alignment Challenge first appeared on 101 Computing.

]]>
Hangman Game https://www.101computing.net/hangman-game/ Mon, 27 Feb 2017 14:58:06 +0000 http://www.101computing.net/?p=4077 For this challenge, you are going to create a game of hangman. The computer will pick a word randomly within a given list of words. The player will have to guess the word by suggesting one letter at a time

The post Hangman Game first appeared on 101 Computing.

]]>
Roman Numerals Conversion https://www.101computing.net/roman-numerals-conversion/ Mon, 27 Feb 2017 10:51:57 +0000 http://www.101computing.net/?p=4050 For this challenge, your aim is to write a program used to convert whole numbers (integer) into roman numerals and vice versa. Roman Numerals are based on seven symbols: Symbol Value I 1 V 5 X 10 L 50 C

The post Roman Numerals Conversion first appeared on 101 Computing.

]]>
Password Checker https://www.101computing.net/password-checker/ Thu, 16 Feb 2017 16:48:26 +0000 http://www.101computing.net/?p=3974 For this challenge we will write a program where the end-user has to type a password. The program will then return a score to tell the end-user how secure their password is based on the following criteria: Criteria Score The

The post Password Checker first appeared on 101 Computing.

]]>
Love Match Calculator https://www.101computing.net/love-match-calculator/ Tue, 14 Feb 2017 14:00:09 +0000 http://www.101computing.net/?p=3966 For this challenge we will write a program that will prompt the user to enter two first names. The program will then calculate and return a Love Match Score based on the following criteria: Criteria Score Both first names have

The post Love Match Calculator first appeared on 101 Computing.

]]>
My Login Script https://www.101computing.net/my-login-script/ Tue, 31 Jan 2017 14:32:31 +0000 http://www.101computing.net/?p=3839 A lot of computer systems rely on the need for the user to login using a username and password. This form of authentication is used to uniquely identify a user and give them access to the relevant information on the

The post My Login Script first appeared on 101 Computing.

]]>
String Manipulation https://www.101computing.net/string-manipulation-2/ Thu, 14 Jul 2016 22:05:09 +0000 http://www.101computing.net/?p=3304 String? In computer science, a string is a piece of text or a collection of characters. A string can be stored in a variable, can be typed in by the end-user (input) or can be displayed on the screen (output).

The post String Manipulation first appeared on 101 Computing.

]]>
Marathon Time Calculator https://www.101computing.net/marathon/ Thu, 05 May 2016 19:56:53 +0000 http://www.101computing.net/?p=3062 In this challenge you are going to write a Python script to help a marathoner predict the overall time they can complete a Marathon in (42km). This estimation will be based on the runner’s pace which is the time they

The post Marathon Time Calculator first appeared on 101 Computing.

]]>
Yes or No! https://www.101computing.net/yes-or-no/ Fri, 20 Nov 2015 10:41:15 +0000 http://www.101computing.net/?p=2480 Learning Objectives When your computer prorgam is asking questions to the end-user, the end-user may not answer these questions the way you expected them to. This may cause your program to not work properly. Ideally a good program should use

The post Yes or No! first appeared on 101 Computing.

]]>