RealLifeEd
RealLifeEd
  • Видео 129
  • Просмотров 669 459
Python checking user input for correct value, word or number
Using while, try and functions to test the input of a user in order to make sure the value is what the program needs. In this example, we check for a value of one or two and disallow anything other than a number or words that equal these.
Просмотров: 912

Видео

How to use slice in Python on Tuples or Strings
Просмотров 185Год назад
In this video, we use the slice() function to separate tuples and/or strings. We see how we can set the start slice, end slice, and the specific steps of the slice.
How to concatenate strings and integers / printing strings and ints
Просмотров 507Год назад
In this tutorial, we will look at how to concatenate or combine strings and integers to print messages which contain both. We also will explore different ways to do this so that you can still use math functions with your variables.
How to create a health bar or inventory status bar in a Python text based game
Просмотров 1,8 тыс.Год назад
In this tutorial, we look at how to create a health bar using chr() and variables. We will create a function that can be called throughout the text-based game and can update as the player's health changes. This can also be used for inventory amounts and other counter types. Link to chr() codes for Python - python-tcod.readthedocs.io/en/latest/tcod/charmap-reference.html
How to do date and time calculations in Python
Просмотров 122Год назад
How to use complete calculations with dates and times. Python Programming Beginners series. In this video: - Current date calculations - Current time calculations Tools: The Python Standard Library - docs.python.org/3/library/ Replit - replit.com/ #python2DArray #pythonlists #learningtoprogram #learntocode #programmingtutorials #pythonvariables #pythonloops #pythondate #pythontime
Python: Display date and time including local time zones
Просмотров 255Год назад
How to use display date and time. Python Programming Beginners series. In this video: - Current date - Current time - Time zones Tools: The Python Standard Library - docs.python.org/3/library/ Replit - replit.com/ #python2DArray #pythonlists #learningtoprogram #learntocode #programmingtutorials #pythonvariables #pythonloops #pythondate #pythontime
How to write to and append files using Python
Просмотров 570Год назад
How to write and append files using Python In this video: - Python files - writing to files - appending files Tools: The Python Standard Library - docs.python.org/3/library/ Replit - replit.com/ #python2DArray #pythonlists #learningtoprogram #learntocode #programmingtutorials #pythonvariables #pythonloops
Python files readline, strip() and using while loops while reading files
Просмотров 4,5 тыс.Год назад
How to read text files and while loops to parse through the files. In this video: - Python accessing and reading text files - Assign each line to a variable - Strip() - Upper() File used in this video - drive.google.com/file/d/1PoLRAreB7CE-0FYR_2jMHS5h012kOYjx/view?usp=share_link Tools: The Python Standard Library - docs.python.org/3/library/ Replit - replit.com/ #python2DArray #pythonlists #le...
How to assign lines in file to arrays and the ord() function / Unicode characters
Просмотров 280Год назад
How to read text files and assign them to arrays using Replit and Python. We also introduce the ord() function. In this video: - Python accessing and reading text files - Assign each line to an array - Filtering the lines based on a character - ord() function and what are Unicode characters Tools: The Python Standard Library - docs.python.org/3/library/ Replit - replit.com/ #python2DArray #pyth...
Python Make and Read Text Files
Просмотров 948Год назад
How to make and read text files using Replit and Python. In this video: - Python accessing and reading text files - parse through text files Tools: The Python Standard Library - docs.python.org/3/library/ Replit - replit.com/ #python2DArray #pythonlists #learningtoprogram #learntocode #programmingtutorials #pythonvariables #pythonloops
Python Arrays Remove, Pop, Del
Просмотров 1,7 тыс.Год назад
How to remove, pop, and del from arrays. Python Programming Beginners series. In this video: - Arrays - Removing from arrays - Del from arrays - Pop arrays Tools: The Python Standard Library - docs.python.org/3/library/ Replit - replit.com/ #python2DArray #pythonlists #learningtoprogram #learntocode #programmingtutorials #pythonvariables #pythonloops
Python 2D arrays and lists
Просмотров 25 тыс.2 года назад
How to use 2D Arrays and Lists. Python Programming Beginners series. In this video: - 2D Arrays - 2D Lists Tools: The Python Standard Library - docs.python.org/3/library/ Replit - replit.com/ #python2DArray #pythonlists #learningtoprogram #learntocode #programmingtutorials #pythonvariables #pythonloops
Python Programming: How to use while loops, break and continue
Просмотров 7022 года назад
How to use while loops and how to break out of them. In this video: - While loops - Break in while loops - Continue in while loops Tools: The Python Standard Library - docs.python.org/3/library/ Replit - replit.com/ #pythonwhileloops #pythonbreak #pythoncontinue #pythontutorial #learningtoprogram #learntocode #programmingtutorials #pythonvariables #pythonloops
Python Programming more on lists and how to use them.
Просмотров 1622 года назад
How to use lists part 2. In this video we cover append, insert, remove, clear, pop, range, count, sort, reverse and copy In this video: - list append - list insert - list remove - list clear - list pop - list count - list sort - list reverse - list copy Tools: The Python Standard Library - docs.python.org/3/library/ Replit - replit.com/ #pythonlists #append #insertlist #listpop #pythontutorial ...
How to make a GUI in Python using Tkinter including textbox, buttons and graphics.
Просмотров 7192 года назад
How to make a GUI in Python using Tkinter including textbox, buttons and graphics.
Python Programming Tutorial: How to use loops and lists for beginners
Просмотров 1322 года назад
Python Programming Tutorial: How to use loops and lists for beginners
Python Programming: STOP DOING THIS! fstring, is easier and you will have less errors in your code!
Просмотров 1762 года назад
Python Programming: STOP DOING THIS! fstring, is easier and you will have less errors in your code!
Python Programming How to use if, elif, else and logical operators for beginners
Просмотров 3222 года назад
Python Programming How to use if, elif, else and logical operators for beginners
Python Programming How to use booleans and using booleans in functions
Просмотров 4432 года назад
Python Programming How to use booleans and using booleans in functions
Python Programming How to Make Your Own Modules and Use Existing ones Beginners Lesson 8
Просмотров 3222 года назад
Python Programming How to Make Your Own Modules and Use Existing ones Beginners Lesson 8
Python Programming String Methods How To Manipulate Text Lesson 7
Просмотров 1702 года назад
Python Programming String Methods How To Manipulate Text Lesson 7
Python Programming Arithmetic, Comparison, Logic and Assignment Operators Beginners Lesson 6
Просмотров 2722 года назад
Python Programming Arithmetic, Comparison, Logic and Assignment Operators Beginners Lesson 6
Python Programming Global Variables & Casting Beginners Tutorial Lesson 5
Просмотров 2792 года назад
Python Programming Global Variables & Casting Beginners Tutorial Lesson 5
Python How to Use Functions & Passing Data To Functions | Lesson 5
Просмотров 2252 года назад
Python How to Use Functions & Passing Data To Functions | Lesson 5
Python Programming How to use Concatenation | Combining Strings | Lesson 4
Просмотров 3992 года назад
Python Programming How to use Concatenation | Combining Strings | Lesson 4
Python Programming Errors and Exceptions | Lesson 3
Просмотров 4112 года назад
Python Programming Errors and Exceptions | Lesson 3
Python Programming Beginners Tutorial | Lesson 2 | Variables Data Types Object-Oriented Language
Просмотров 5892 года назад
Python Programming Beginners Tutorial | Lesson 2 | Variables Data Types Object-Oriented Language
Python Programming Beginners Tutorial | Lesson 1 | Print Strings
Просмотров 8052 года назад
Python Programming Beginners Tutorial | Lesson 1 | Print Strings
Java Programming For Beginners / Lesson 2 / Print Output / system.out.print & println
Просмотров 342 года назад
Java Programming For Beginners / Lesson 2 / Print Output / system.out.print & println
Java Programming For Beginners / Your first program / Lesson 1
Просмотров 382 года назад
Java Programming For Beginners / Your first program / Lesson 1