What is Python? (Create a Pig Latin Translator)

  Рет қаралды 7,903

TeXplaiNIT

TeXplaiNIT

Күн бұрын

Learn how to code in Python, a popular computer language. In this tutorial I show you how to create a simple pig latin translator.
code.org/ Learn Coding
Scratch.mit.edu/ Learn Coding
www.codecademy.com/ Learn Coding (Various Languages)
www.python.org/download/relea... Python 2.7.6
www.pythontutor.com/ Python Process (Python)
kivy.org/#home Python nice looking GUI
www.pyinstaller.org Python to stand-alone executables

Пікірлер: 20
@droidnewton5610
@droidnewton5610 7 жыл бұрын
Thanks for the short concise introduction to Python programming!
@TeXplaiNIT
@TeXplaiNIT 7 жыл бұрын
Thanks for watching!
@cmalathi1
@cmalathi1 5 жыл бұрын
use input() instead of raw_input() for Python 3.x above
@limabeanlover2516
@limabeanlover2516 8 жыл бұрын
This video was super helpful. Thank you
@TeXplaiNIT
@TeXplaiNIT 8 жыл бұрын
+limabeanlover Glad to hear it!
@aishwarysaxena5301
@aishwarysaxena5301 4 жыл бұрын
Why it says raw_input not defined
@quackzsd5889
@quackzsd5889 2 жыл бұрын
I know i am late, but how do I remove a period off the end of the word, Then translate it to pigs latin, then add the period back onto the end after it is translated???
@bobuad593
@bobuad593 3 жыл бұрын
Can you make one of these for 3.9.0 pls? It's not working :(
@ilovedapanda
@ilovedapanda 7 жыл бұрын
What if you have a string that has 2 consonants like "play". It doesn't go to ayplay
@TeXplaiNIT
@TeXplaiNIT 7 жыл бұрын
Very true. It is not a perfect piece of code. Homework for you (should you accept it) - what line(s) of code could account for 2 consonants?
@limabeanlover2516
@limabeanlover2516 8 жыл бұрын
good
@limabeanlover2516
@limabeanlover2516 8 жыл бұрын
I am trying to make one for this thing in school called Genius hour
@TeXplaiNIT
@TeXplaiNIT 8 жыл бұрын
+limabeanlover How's it coming?
@avy0010
@avy0010 5 жыл бұрын
Let me know if this work properly :) original = input("Please enter a sentence?:").strip().lower() words = original.split() new_words = [] for word in words: if word[0] in "aeiou": new_word = word + "yay" new_words.append(new_word) else: vowel_pos = 0 for letter in word: if letter not in "aeiou": vowel_pos = vowel_pos + 1 else: break cons = word[:vowel_pos] rest_word = word[vowel_pos:] new_word = rest_word + cons + "ay" new_words.append(new_word) output = " ".join(new_words) print(output)
@maleehabulla3116
@maleehabulla3116 4 жыл бұрын
thank you for this. its better than any youtube video i've used. i was wondering if you could do a decryption with this?
@maleehabulla3116
@maleehabulla3116 4 жыл бұрын
it does work btw
@reikaftirani2431
@reikaftirani2431 2 жыл бұрын
you saved me ON GOD, subbed
@jayhitmaan9993
@jayhitmaan9993 5 жыл бұрын
Ouryay igpay atinlay illskay siay adbay
@nexus8854
@nexus8854 5 жыл бұрын
eoplepay illway onlyway useway isthay ifway eythay ontday understandway igpay atinlay. Itsway eallyray easyway. Iway ontday etgay why eoplepay inkthay its ardhay
@jayhitmaan9993
@jayhitmaan9993 5 жыл бұрын
Oh
What is Java? (basics tutorial)
31:55
TeXplaiNIT
Рет қаралды 10 М.
Learn Python Code a Pig Latin Converter (PygLatin)
15:02
Teacher of Computing
Рет қаралды 20 М.
Nastya and SeanDoesMagic
00:16
Nastya
Рет қаралды 43 МЛН
Heartwarming Unity at School Event #shorts
00:19
Fabiosa Stories
Рет қаралды 25 МЛН
Smart Sigma Kid #funny #sigma #memes
00:26
CRAZY GREAPA
Рет қаралды 6 МЛН
Каха заблудился в горах
00:57
К-Media
Рет қаралды 10 МЛН
How to Make a Vehicle in Roblox (Tutorial)
10:55
TeXplaiNIT
Рет қаралды 31 М.
Python list comprehension 📰
6:08
Bro Code
Рет қаралды 33 М.
What Can You Do with Python? - The 3 Main Applications
11:30
CS Dojo
Рет қаралды 3,5 МЛН
COBOL Course - Programming with VSCode
1:17:04
freeCodeCamp.org
Рет қаралды 196 М.
18 Commands That Will Change The Way You Use Linux Forever
29:50
Akamai Developer
Рет қаралды 1,2 МЛН
Why The Windows Phone Failed
24:08
Apple Explained
Рет қаралды 252 М.
ROS2 Tutorial - ROS2 Humble 2H50 [Crash Course]
2:50:02
Robotics Back-End
Рет қаралды 112 М.
Nastya and SeanDoesMagic
00:16
Nastya
Рет қаралды 43 МЛН