PFB #26 - Practical Exercise in Python (Conditional Statements)

PFB #26 - Practical Exercise in Python (Conditional Statements)

Tech Raj

4 года назад

11,212 Просмотров

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


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

Man_Sha18
Man_Sha18 - 11.02.2023 05:38

How can I find your all practical exercise for python

Ответить
Bhanu prakash
Bhanu prakash - 27.10.2022 13:43

Bro... Why r u taken these 65,90 for uppercase and 97,122 for lower case???

Ответить
Abhi Ghosh
Abhi Ghosh - 15.08.2022 19:41

bro question number 3 is wrong it will if((a**2+b**)=c**2):
print ("Triangle is right angle")

Ответить
Rehana Verma
Rehana Verma - 16.07.2022 15:15

Very helpful

Ответить
Stefan Nieuwenburg
Stefan Nieuwenburg - 08.12.2021 18:52

Q4 solve:
ch = input("Enter your character : ")[0]

# Check for uppercase, lowercase
if ch.isupper() :
print("is UPPERCASE character.")

elif ch.islower() :
print( "is LOWERCASE character.")

else :
print("is not an character.")

Ответить
Alaribe James
Alaribe James - 04.10.2021 17:14

In case you're finding it difficult to solve Q4 try:
Alphabet = ord(input("Enter the character : "))

if(Alphabet>=65 and Alphabet<=90):
print("Uppercase letter")

elif(Alphabet>=97 and Alphabet<=122):
print("Lowercase letter")
else:
print("Not an Alphabet")


"Alphabet = ord(input("Enter the character : "))" is shorter.

Ответить
Suresh Kelode
Suresh Kelode - 06.09.2021 19:55

Nice video sir

Ответить
Aaron Fisher
Aaron Fisher - 18.07.2021 16:49

When you said double asterisks I thought you said double asscheeks and without missing a beat thought cool coder jargon.

Ответить
Sajjad hossain sunny
Sajjad hossain sunny - 21.11.2019 14:20

Bro, you are awesome

Ответить
Akshay jadhav
Akshay jadhav - 19.11.2019 19:46

Your working in industry or student?

Ответить
Akshay jadhav
Akshay jadhav - 19.11.2019 19:40

Keep it up bro...

Ответить