Hour of Python – Coding Challenge 2 | Switch Case

Hour of Python – Coding Challenge 2 | Switch Case

Clever Programmer

7 лет назад

20,968 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

Sai Shyam
Sai Shyam - 12.07.2021 18:37

we could also use the .swapcase() method in python

Ответить
Parth Salat
Parth Salat - 31.03.2020 16:39

Which is the inbuilt function to switch case?

Ответить
Deojeet Sarkar
Deojeet Sarkar - 04.07.2019 23:12

Nice place to practice
Subbing

Ответить
Denis Dede
Denis Dede - 06.07.2018 20:52

Please explane me why did you put += in the new_string function

Ответить
T
T - 02.04.2018 04:21

for character in string:
new_string += character.lower() if character.isupper() else character.upper()
return new_string
i think this is more pythonic

Ответить
israt jahan
israt jahan - 07.03.2018 12:03

def string (my_string):
if my_string== (my_string.lower()):
return (my_string.upper())
else:
return (my_string.lower())
print (string("auraha"))
print (string ("AURAHA"))

Ответить
Evan Perry-Giblin
Evan Perry-Giblin - 08.08.2017 22:29

how would it be if you converted each to ascii, and then returned +-32? I was kind of wondering how these functions are working in the background. thx!

Ответить
Baboon
Baboon - 25.07.2017 16:16

Could someone explain what does += mean/do?

Ответить
purusharth pandey
purusharth pandey - 21.05.2017 10:26

sir please make video on how to convert .py to .exe

Ответить
Akanksha S
Akanksha S - 17.05.2017 21:01

hey Qazi. I am from India. and I would love to become a programmer. right now I am in 10th grade and here in India we have to choose stream in 11th grade in order to persue our dreams. I don't know if its only in India or whatever. so should I choose computer science as my stream. what subjects are in computer science. and after learning few programming languages do I have to wait for my degree or I can do something related to programming before getting a degree. I know its co fusing but still. help me

Ответить
Daniel Sisay
Daniel Sisay - 17.05.2017 07:56

thank you for keeping hope alive

Ответить
Neelkanth Sharma
Neelkanth Sharma - 17.05.2017 06:21

Sir I can't understand how to install Python turtle graphics shell.....Sir plz tell me about that one.....

Ответить
tony Tran
tony Tran - 16.05.2017 11:26

Are you going to continue your codefight series?

Ответить
Ram
Ram - 16.05.2017 03:29

Hello, im a pretty new programmer, 2 months old. i always wanted to code but i was just too lazy to do it but i got started 2 months ago and im getting into html5 because i think thts the basic.. im 2 months into it and im pretty decent. i dont know what to learn next and after that so on.. can you please tell me what i should learn, why and its functions? thank you! im currently learning from coding academy..

Ответить
Ankit Caring
Ankit Caring - 16.05.2017 00:08

Awesome!!! keep it up

Ответить
anti shock
anti shock - 15.05.2017 22:34

Say Qazi, can you do a turtle graphics crash course kinda thing on your channel. Basic things like shapes and other cool things. I would say that will be amazing. BTW, nice hour long video XD

Ответить
Krystopher Rhaburn
Krystopher Rhaburn - 15.05.2017 22:14

Hey Clever Programmer. Nice video.

Ответить
Amit Kumar
Amit Kumar - 15.05.2017 19:48

so what about auto mailing programing

Ответить
rishikesh betigeri
rishikesh betigeri - 15.05.2017 19:36

Hey man I think u should teach us to make a gui based application and introduce us networking in python because that is what we use mainly in real life

Ответить
Tina 93
Tina 93 - 15.05.2017 19:33

... i just started learning... but trust me i m in love with you ... :)

Ответить
Jasmine Rose
Jasmine Rose - 15.05.2017 19:30

Super. I have a question, In your codecademy python tutorial,only 22 videos are there.where i can find rest of it?

Ответить
guilleacq
guilleacq - 15.05.2017 19:28

this was pretty much they shortest hour ever

Ответить
Husnain Abbas
Husnain Abbas - 15.05.2017 19:21

Ответить
Rajaram Karki
Rajaram Karki - 15.05.2017 19:05

these challenges may be helpful.
there are many things not included in your tutorials quasi.

Ответить