
Do you know how to do these things?
Write a Strings
Inserting Strings into print
Input
len
str()
Here is your challenge to become a programming master.
Write a program that is like an AI that introduces itself and ask for your name.
Have the AI say nice to meet you and say your name.
Also have the AI tell you how long your name is.
If the above it too hard check out the video.
Explore using a while loop with a break to exit once the input password matches a condition; learn input, if statements, and printing a final confirmation.
Here are your Challenges:
If you're a pro programmer you will be able to do the below no problem. Even if you a beginner try and do what you can. ( even if that means just creating a black IDLE project)
Try this:
Print your name 50 times
Challenge 2
break out of the loop after printing your name 23 times
If you really struggled here is the code and the video.
Though please try to follow the video.
If not no worries check your code with mine to see if you can find the problem.
Good Luck!
Create a first Python program that greets the user, captures their name, and reports its length. Extend it to ask for color and family size using input and string conversion.
Learn how to print strings in Python, handle apostrophes with the escape character, and control the end character to print on one line.
Explore how the print function uses a default space to separate items and how to customize separators with the sep parameter to print 1-2-3 using a hyphen.
Demonstrates flow control with Python if statements by asking for family size, determining if you’re an only child, and printing results using input, print, and comparison operators.
Explore Python flow control with if, elif, and else to guide program logic, converting input to integers and applying conditions like family size and temperature.
Practice using a Python while loop to control program flow, handle user input, and convert between strings and integers, with if statements, to create a number-guessing game.
Build a Python guessing game by prompting for a number, using a while loop to compare guesses to the target, track total guesses, and print congratulations when correct.
Explore how to use a for in range loop to sum numbers from 1 to 100, initialize a total, update it with total += number, then print the result.
Explore how to use Python's for in loop with range to print values counting forwards and backwards, control start, end, and step intervals, and document code with comments.
Practice counting numbers divisible by three from zero to 100 using a for in loop and range, tracking threes and printing the result.
Explore python programming challenges by using the import statement and the random module to simulate dice rolls with functions and loops.
Learn to create a configurable roll dice function that takes user input, converts it to int, and returns a random number within the chosen dice size.
Learn to build a simple Python calculator by creating an add function, handling two inputs, converting strings to ints, and printing the result; explore division, multiplication, and subtraction with if/elif.
Explore how comparison operators in Python determine equality and order, using strings and numbers to illustrate equals, not equal to, less than, greater than, and their case sensitivity effects.
Challenge
Find the Integer representation of unicode values of the words elephant and dog.
Print these values
Add them together to see their total
Compare Capital E and Lowercase e with unicode
Here is a website that will help:
https://docs.python.org/2/library/functions.html#ord
If you really struggled check out the video.
Explore a Python challenge that uses a loop and if-else logic to print letters in 'elephant', count e's, and preview elif in the next video.
Import the random module and generate a random number between 1 and 10, then define a function that returns a holiday activity string using if/elif logic to pick from options.
Master how to control a while true loop in Python using continue and break based on user input, with practical testing and looping logic.
Build a Python dice app using the random module, define a dice function with proper indentation, and loop via user input to roll one through six or other sides.
Develop a 99 bottles app in python by using loops and functions to generate lyrics, handle singular and plural bottles, and print a timed singsong sequence.
Define a person class with name and age, instantiate Jim (22) and Billy (42) from the same class, and print a self-described sentence like 'name is age years old'.
Learn to create and print strings with quotes, assign camel casing variables, convert between strings and numbers, and use plus equals for concatenation in Python.
Create a python constants file and define values in capital letters, like pi and name, then import the module and print them, noting capitalization signals constants.
Explore Python naming conventions from camel case to underscores, distinguish constants from variables, and organize code with modules and object-like structures ready to import into a main program.
Master Python string handling with boolean checks like isalpha, isdigit, and isupper, then convert to lowercase, and test startswith and spaces for robust text validation.
Explore Python's isinstance and type to identify an object's class, test types like int and float, and print type information to guide code decisions.
Explore Python challenges by building and manipulating arrays and lists, indexing elements, modifying values, and converting between lists and strings using for loops.
Explore Python sets and their unique items, handling duplicates and adding numbers, tuples, and characters. Update sets with lists, convert to lists for indexing, and cast to strings for containment.
Explore creating empty sets in Python and distinguish between {} as a dictionary and set() for set creation. Practice adding and removing elements to solidify your understanding of set operations.
Learn how to create and manipulate Python dictionaries using keys and values, print by key, access unordered storage, and count duplicates from an array by building a dictionary.
Learn how to convert data types, turning ints into floats and strings, and use round to control decimal digits, noting that int conversion rounds down.
Learn to create a Tkinter user interface window in Python by importing Tkinter, creating a window, setting its title, adding a label, arranging the layout, and running the main loop.
Explore Python day 12: build a multiline string with inline variables using f-strings, format sentences without escape characters, and apply conditional grammar for singular and plural nouns.
Master Python looping by creating a for loop with range to print twenty times, then reproduce the same task with a while loop, track a counter, and use break conditions.
Learn to define and call Python functions with def, handle input for name and color, print results, and return multiple values using tuples.
Build an interactive python joke program that asks the train sound question, takes user input, stores the answer 'choo choo', and uses a while loop to repeat until correct.
Practice Python by building a loop that increments a variable with one, breaking when it exceeds 20 and exploring continue behavior in a while True loop.
Create a dice rolling app in Python using a while loop, the random module, and user input to roll a six‑sided die and exit with a command.
Build a dice rolling app in Python using a while loop, the random module, and user input to roll or exit, with 1–6 dice faces.
Expand your knowledge of Python arrays by creating a list, indexing with zero-based positions, and inserting at the first position; then remove the last item.
Create a simple Tkinter view with a button, define a button pressed function that prints hello, set the button text to press me, and run the main loop.
Draw a red square using Python's turtle by importing turtle, creating Timmy, setting speed, pen color, and moving forward and turning 90 degrees in a four-iteration loop.
Create a while true loop that prompts for a number, use try and accept to catch non-numeric input, print an error, and continue until a valid number is entered.
Learn to sort arrays in Python from low to high and in reverse, sort by word length, and sort multi-dimensional arrays by first or second elements using key and lambda.
Create a Python program that counts each character in a string using a dictionary, iterating through the text and updating counts. Optionally convert to lowercase to count identical characters together.
- create an array and see if and object exists in it
- see if something doesn't not exists in it
- find the index of an object
- find the index of an object but it will not crash the program
Challenge
- create a string and try to alter the 3 letter in the string and replace it with an 'f' -- What happens?
- How can you change the 3rd letter of a string
- replace a word or part of a word in a string with another string
Challenge
Create a class that has. function that checks if the user has entered a number
If is is not a number display that it isn't a number
Challenge
create a string that has a mix of numbers and letter
use regex to extract the numbers
now use regex to extract the letters
Challenge
- create a large string of words and split the string into an array of words
-then join the array of words back together into a string
Challenge
- use pyperclip module to copy and paste some text
Challenge
make a view that has a label
Python Challenge
change the colour of the text and give it a font and size
Python Challenge
Make a UI that increments a counter and decrements the label
Set the default python 3 save folder on mac by locating the IDLE main file for your version, copying it to the desktop, then dragging it back and authenticating.
UPDATE!!!!
I am also adding all the videos from my 100 Days of Python YouTube channel though in here you get all the source code! (Just in case you really need help) :). This part is still in progress and will be updated through out the year.
In this course we will learn the basics of Python.
We will learn the basics though all the time check the description of the lesson and see if you can do the Python Programming Challenge yourself.
Make programs that interact with you, tell you what to wear depending on the weather and guessing games.
The software for this course is compatible for Mac and PC and is one of the top 10 programming languages a must to learn.
The course is structured for all levels.
If your a pro programmer you can probably do the challenges without watching the video. If you are a pro programmer and you find a different solution to what I did then please share as we are all here to learn.
If your a beginner don't worry do the best you can and once you finish the course try doing it again without watching the videos as much as you can.
I wish you all the best on your programming adventures!
NOTE: Also if you see something that is wrong please send me a message through Udemy. I am more than happy to make this course the best course available with your help. Learning and teaching is a two way street and I'm here to learn with you. :)
Thanks again and see you in the lectures.