Aytganchi, xizmatlaringizga rozi bo'ling. Shaxsan men sizdan judayam minnaddorman. albatta bu men uchun qarz va bu qarzimni inshoollox boshqa kimgadir o'rgatish bilan uzaman xudo nasib qilsa ukam
a=input("Biror harf kiriting ").lower() print(a) if a.isalpha(): if a=='a' or a=='e' or a=='u' or a=='i' or a=="o`": print("Unli harf") else: print("Undosh harf") else: print("Iltimos harf kiriting")
harf = input ('harf kiriting ') if harf.isdigit(): print (harf, ' raqam harf kiriting!!!') else: if harf.isalpha(): if harf=='a' or harf=='i' or harf=='o' or harf=='e' or harf=='u' or harf=='o‘': print(harf.capitalize(), ' unliharf') else: print(harf.capitalize(), ' undosh harf') else: print('harf kiriting!!!! ')
harf = input('harf: ') if harf.isalpha() and harf=='a' or harf=='e' or harf=='i' or harf=='u' or harf=='o': print('unli') elif harf.isdigit(): print('harf kiriting') else: print('undosh')
a =input('ismingizni kiriting: ') b = input('familiyangizni kiriting: ') if a.isdigit() or b.isdigit()or a==' 'or b==' ': print('ism yoki familiyangizda xatolik bor. boshqattadan ism familiyangizni kiriting') else: print("Salom",a.capitalize(),b.capitalize())😂. o'zimcha o'zgarish qilib ko'rdim. bazida adashib raqam xam kiritib qo'yishi mumkinku
harf=str(input("biror harf kiriting:")) if harf=='a' or harf=='o' or harf=='' or harf=='i' or harf=='o' or harf=='e' or harf=='u': print("unli harf") else: print("undosh harf")
bundan ham oson yo'li borkuuu son = str(input("Harfni kiriting! ")) if son.isdigit(): print("xato") elif son == "a": print('unli') elif son == "e": print("E unli harf") elif son == "u": print("unli") elif son == "i": print("unli") elif son == "o": print("unli") elif son == "o'": print("unli") else: print("unli emas") mana🕶
a=input("harflarni kiriting: ").lower() print(a) if a.isalpha(): if a=="a" or a=="e" or a=="o" or a=="o'" or a=="i" or a=="u": print("unli harf") else: print("raqam yoki undosh harf kiritildi")
a = input('Harf kiriting: ') if a == 'a': print('Unli harf') elif a == 'e': print('Unli harf') elif a == 'i': print('Unli harf') elif a == 'o': print('Unli harf') elif a == 'u': print('Unli harf') elif a == 'o`': print('Unli harf') else: print('Undosh harf') if a == '': print('Hard kiriting') uyga vazifa
a = input("Harf kiriting: ").lower() if len(a) == 1 and a.isalpha(): if a == 'a' or a == 'e' or a == 'i' or a == 'u' or a == 'o': print("Unli harf") else: print("Undosh harf") else: print("Faqatgina 1 harf kirishingiz mumkin!")
h = input('Harf kiriting: ') if len(h) == 1: if h.isalpha(): h = h.casefold() if h == 'a' or h == 'e' or h == 'i' or h == 'o' or h == 'u': print('Kiritilgan harf - unli') else: print('Kiritilgan harf - undosh') else: print('Bunday harf alfavitda yo`q!') else: print('1 ta harf kiritish kerak!')
harf=input('Lotin alifbosidagi harflarni kiriting: ') if harf.isalpha(): if harf=='a'or harf=='e' or harf=='i' or harf=='o' or harf=='u' or harf=='o`': print('Unli') elif harf=='A'or harf=='E' or harf=='I' or harf=='O' or harf=='U' or harf=='O`': print('Unli') else: print('Undosh') else: print('Harf kiriting')
a=input('Biror-bir harf kiritin: ') if a.isalpha(): if a=='a' or a=='o' or a=='i' or a=='u' or a=='e': print("{}-unli harf".format(a)) else: print("{}-undosh harf".format(a)) else: print("Iltimos harf kiriting")
a = input('Harf kiriting:') if a.isalpha(): if a == 'a' or a == 'e' or a == 'i' or a == 'o' or a == 'u' or a == "o'" : print('Siz unli harf kiritdingiz!') else: print('Siz undosh harf kiritdingiz') elif a.isdigit(): print('Raqam kiritdingiz')
xx = input('Harifni kiriting:') unli = ('a, o, u') undosh = ('b, p, m') if xx in unli: print('unli') elif xx in undosh: print('undosh') else: print('Unli yoki undosh harif kiriting!')
son = input('1 dan 10 gacha sonlarni kiriting va men sizga ularni inglizchasini yuboraman:' ) if son.isdigit(): son = int(son) if son > 0 and son < 30: qoldiq = son % 10 letter = '' if qoldiq == 1: letter += 'one' elif qoldiq == 2: letter += 'two' elif qoldiq == 3: letter += 'three' elif qoldiq == 4: letter += 'four' elif qoldiq == 5: letter += 'five' elif qoldiq == 6: letter += 'six' elif qoldiq == 7: letter += 'seven' elif qoldiq == 8: letter += 'eight' elif qoldiq == 9: letter += 'nine' elif qoldiq == 10: letter += 'ten' print(letter)
a=input() if a.lower(): if a=='a' or a=='o' or a=='e' or a=="o'" or a=='i' or a=='u': print("unli harif") else: print("undosh harif") else: print("harif kriting !!!!!")
a = input('harf kiriting: ') a = a.lower() if a.isalpha(): if a == 'a' or a == 'e' or a == 'i' or a == 'o' or a == 'u': print('unli harf') else: print('undosh harf') else: print('bunday harf yo`q')
harf=input("lotin alifbosi unli yoki undosh :") if harf.isalpha(): harf=str(harf) if harf=='a' or harf=='e' or harf=='i' or harf=='o' or harf=="o'" or harf=='u': print('unli') else: print('undosh') else: print("Iltimos lotin alifbosni kiriting ! ")
Kabisa yilini hisoblaydigan dastur tuzdim aka tekshirib bering # Kabisa yilini hisoblaydigan dastur a = input('Yil kiriting: ') b = 4 yil = int(a) % int(b) if yil == (0): print('kabisa yili') else: print('Kabisa yili emas')
# bu dastur kiritilgan harfni unli yoki undoshlikka tekshiradi s = str(input('Harf kiriting: ')) unli =[ 'a', 'e', 'i', 'o', 'u', 'o`', 'A', 'E', 'I', 'O', 'U', 'O`'] if s.isalpha() and s in unli: print(s,' harfi unli harf') else: print('Undosh harf')
if harf.isalpha(): #harf=str(harf) letter='' if harf=='a' or harf=='i' or harf=='o' or harf=='u' or harf=='o`' or harf=='e': letter +='Unli harf' print(letter) else: print('Undosh harf') else: print('Alfabet harfini kiritng!')
Assalomu aleykum Botir aka sizning darslaringizdan mamnunman rahmat. Men Windows xp da python darslarinigizni ishlaganim sabali bitta muammo bo'lyabdi. Pythonda input ma'lumot tipida siznig darslaringizni ishlayotganimda input malumot tipi faqat son(integer) malumotni qabul qilyabdi, harflarni(stringni) esa yo''q. Input ma'lumotning oldiga str ni qoysam ham ishlamayabdi, balki python eski versiya bo'lgani sababli o'tkazmayotgandir.Lekin Windows 10, python yangi versiyada ishlayabdi.
a = input ('Harf kiriting ') if a.isalpha(): if a=='a'or a=='o' or a=='u' or a=='o`' or a=='i' or a=='e': print('UNLI') else: print('Undosh') else: print('ILTIMOS Harf kiriting')
#topshiriq harf1=input("Biror harf kiriting: ") letter='' if harf1.isalpha(): harf=harf1.casefold() if harf=='a' or harf=='e' or harf=='i' or harf=='o' or harf=='o`' or harf=='u' or harf=='а' or harf=='е' or harf=='и' or harf=='о' or harf=='ў' or harf=='у': print("{} harfi unli harf".format(harf1)) else: print("{} harfi undosh harf".format(harf1)) else: print("Faqat harf kiriting")
harf = input(" Istalgan 1 ta lotin alifbosidagi harfni kiriting: ") harflist = [] harflist.extend(harf) if len(harflist) == 1: if harf.isalpha(): harf = harf.casefold() harf = harf[:1] if harf == "a" or harf == "e" or harf == "i" or harf == "o" or harf == "u" or harf == "o'" : print(harf,"->","Unli") else: print("Undosh") else: print(harf,"- bu faqat harflardan iborat qiymat emas !!!") else: print("Siz kiritgan qiymat",len(harflist),"ta elementdan iborat. Faqat 1 ta harf kiriting !!!")
h = input('Harfni kiriting: ') if h.isdigit(): print('Son emas harf kiriting') else : if len(h) == 1 : if h == 'A' or 'a' or 'E' or 'e' or 'O' or 'o' or 'I' or 'i' or 'U' or 'u': print('Kiritilgan ushbu harf unli') else : print('Kiritilgan ushbu harf umdosh') else : print('Alifboda bunday harf yo`q')
s=input('harfni kiriting: ') if s.isalpha(): if s=='a' or s=='o' or s=='e' or s=='u' or s=='i' : print(s,' unli harf') else: print(s,' undosh harf') else : print('harf kiriting')
# 1 dan 30 gacha sonlar kiritilganda harflarda chiqaruvchi dastur while True : a=input("Iltimos harf kiriting ") if a.isalpha() : if a=='a' or a=='e' or a=='i' or a=='o' or a=='u' or a=='o\'' or a=='o`' : print("Unli harf") else : print("Undosh harf") else : print("Harf kiritish lozim")
Aytganchi, xizmatlaringizga rozi bo'ling. Shaxsan men sizdan judayam minnaddorman. albatta bu men uchun qarz va bu qarzimni inshoollox boshqa kimgadir o'rgatish bilan uzaman xudo nasib qilsa ukam
xudo xoxlasa
Tayyorlangan videolarga gap yo'q.Shunchalik class darajada tayyorlangan.Tayyorlagan vedioyingiz o'quvchini o'ziga jalb qiladi.RESPECT🥇🥇🥇🥇🥇🏆🏆🏆
harf = input('Harf kiriting: ')
unli1 = 'a'
unli2 = 'o'
unli3 = 'e'
unli4 = 'i'
unli5 = 'u'
unli6 = 'o`'
if harf.isalpha():
if unli1 == harf or unli2 == harf or unli3 == harf or unli4 == harf or unli5 == harf or unli6 == harf:
print('Kiritgan {} harfingiz unlidir.'.format(harf))
else:
print('Kiritgan {} harfingiz undoshdir.'.format(harf))
else:
print('Harf kiritish zarur! ')
#darslar uchun raxmat.Alloh rozi bo`lsin!
Bilasizmi siz shunchaki supersiz....! Respect
Darslar uchun katta raxmat aka. Iltimos kuproq va tezroq videokurslarni davom ettirsangiz bundanda zo'r bular edi
Gap yuq faqat tez tez 'davom etaylik'
a=input("Biror harf kiriting ").lower()
print(a)
if a.isalpha():
if a=='a' or a=='e' or a=='u' or a=='i' or a=="o`":
print("Unli harf")
else:
print("Undosh harf")
else:
print("Iltimos harf kiriting")
Агар лотинчада o‘ киритилса канака натижа чикади деб уйлисиз
@@BotirZiyatov iltimos harf kiriting chiqadi
@@BotirZiyatov nega unaqa bo'lyapti
o qop ketpdi
@@BotirZiyatov Assalomu alaykum
menda engliz tili sonlarni kritish muammo bulyapti yani 11 dan 19 gacha faqat ten dep chiqaryapti nima qilsam buladi
Akajon rahmat alloh rozi bo`lsin
Ustoz sizga katta raxmat, in sha ALLOH bularni ajr mukofotini oling!
JUDA ZO'R RAXMAT AKA
TO'G'RI
Zor 👍👏 omad 9 darsni chiqaring iltimos aka rahmat kotta
Szga katta raxmat.Siz tufayli 1kitob ma'lumot o'rgandim.Ishlaringizga rivoj tilayman.Katta raxmat sizga🤗
manda yigirma uch bitada chiqdi topshiriq pachti tayor
👍
harf0=("a","o","u","o","i","e")
harf1= input('Harfdi kiriting:')
if harf1.isalpha():
if harf1 in harf0:
print('Unli harf! ')
else:
print('Undosh harf !')
else:
print('Harf kiriting ')
Raxmat yaxshi videorolik boʻlibdi yaratgan barchamizdan rozi boʻlsin
rahmat kattakon!
video darsliklar juda ham ajoyib
ketma -ket, oson va samarali o'rganyabman
Aslida dasturlashga sizzi darslariz sabab judayam qiziqib qoldim
Manga katta motivatsiya berdiz.
dasturlovchi bo'b kettizmi?
OMAD
respect adushi harakat qilyapsiz raxmat katakon
😌
a=input()
s="aeuio"
if a.isdigit():
print("Harf kiritish kerak")
elif s.count(a)>0:
print("Unli")
else:
print("Undosh")
Zòr tushuntirdiz. Qoyil 👍🏻👏🏻
Botir aka ishlarizga omad
Bilim ulashishdan hecham charchamang
bu darsni yaxshi tushundim raxmat
Darslar uchun rahmat ...
Assalomu alaykum Botir aka ishlarizga omad onchagina narsalani organib olyapman
harf = input('unli harif kiriting: ')
if harf.isalpha ():
harf = str(harf)
letter = ''
if harf == "a" or harf == "i" or harf == "u" or harf == "o" or harf == "e" or harf == "O'":
letter += 'unli harf'
print(letter)
else:
print('undosh harf')
else:
print('faqat harf kiriting')
# Absuraximov Elbek :)
print("Xarifni unli yoki undoshligini aytin beradigan dastur!")
xarif = input("Istalgan harfizni kiriting: ")
if xarif.isalpha():
if xarif == 'a' or xarif =='e' or xarif =='i' or xarif =='o' or xarif =='u' or xarif =="a'":
print("Bu unli harif")
else:
print("Bu undosh xarif")
else:
print("Xarif kiriting")
harf = input ('harf kiriting ')
if harf.isdigit():
print (harf, ' raqam harf kiriting!!!')
else:
if harf.isalpha():
if harf=='a' or harf=='i' or harf=='o' or harf=='e' or harf=='u' or harf=='o‘':
print(harf.capitalize(), ' unliharf')
else:
print(harf.capitalize(), ' undosh harf')
else:
print('harf kiriting!!!! ')
Davron Abduvoxidov
qoyil judayam to'g'ri ekan,, oldindan IT ga tushunasmi diman
Рахмат сизга!
harf = input('Harf kiriting: ')
if harf.isalpha() and harf == 'a' or harf == 'o' or harf == 'i' or harf == 'u' or harf == 'e':
print("Bu unli harf")
elif harf.isdigit():
print('Sonku bu!')
else:
print('Bu undosh harf ')
harf = input('harf: ')
if harf.isalpha() and harf=='a' or harf=='e' or harf=='i' or harf=='u' or harf=='o':
print('unli')
elif harf.isdigit():
print('harf kiriting')
else:
print('undosh')
+ kiritsangiz undosh deydi
a =input('ismingizni kiriting: ')
b = input('familiyangizni kiriting: ')
if a.isdigit() or b.isdigit()or a==' 'or b==' ':
print('ism yoki familiyangizda xatolik bor. boshqattadan ism familiyangizni kiriting')
else:
print("Salom",a.capitalize(),b.capitalize())😂. o'zimcha o'zgarish qilib ko'rdim. bazida adashib raqam xam kiritib qo'yishi mumkinku
ажойиб 👍
Oka omad bosing
harf=str(input("biror harf kiriting:"))
if harf=='a' or harf=='o' or harf=='' or harf=='i' or harf=='o' or harf=='e' or harf=='u':
print("unli harf")
else:
print("undosh harf")
kiritma = input('Belgi kiriting: ')
if kiritma.isdigit():
print('Bu son!')
else:
print('Bu harf!')
Boshqacharoq qilib ko'rdim )
Яхши 👍. унли ва ундош учун хам ёзишга харакат қилиб кўринг
harf = str(input("Istalgan harfni kiriting: "))
if harf == 'a':
print('unli')
elif harf == 'o':
print('unli')
elif harf == 'u':
print('unli')
elif harf == 'i':
print('unli')
elif harf == 'e':
print('unli')
elif harf == "o'":
print('unli')
elif harf == 'c':
print('undosh')
elif harf == 'd':
print('undosh')
elif harf == 'b':
print('undosh')
elif harf == 'f':
print('undosh')
elif harf == 'g':
print('undosh')
elif harf == 'h':
print('undosh')
elif harf == 'j':
print('undosh')
elif harf == 'k':
print('undosh')
elif harf == 'l':
print('undosh')
elif harf == 'm':
print('undosh')
elif harf == 'n':
print('undosh')
elif harf == 'p':
print('undosh')
elif harf == 'r':
print('undosh')
elif harf == 'q':
print('undosh')
elif harf == 's':
print('undosh')
elif harf == 't':
print("undosh")
elif harf == 'v':
print('undosh')
elif harf == 'z':
print('undosh')
elif harf == 'y':
print('undosh')
elif harf == "g'":
print('undosh')
elif harf == 'sh':
print('undosh')
elif harf == 'ch':
print('undosh')
elif harf == 'w':
print('undosh')
else:
print('Harfni kiriting! ')
erinmaganizi qaren molodes
ohoo 😳👍👍👍
bundan ham oson yo'li borkuuu
son = str(input("Harfni kiriting! "))
if son.isdigit():
print("xato")
elif son == "a":
print('unli')
elif son == "e":
print("E unli harf")
elif son == "u":
print("unli")
elif son == "i":
print("unli")
elif son == "o":
print("unli")
elif son == "o'":
print("unli")
else:
print("unli emas")
mana🕶
if harf in "aeiou":
print("unli")
elif harf.istigit():
print("harf yozing")
else:
print("undosh")
a=input("harflarni kiriting: ").lower()
print(a)
if a.isalpha():
if a=="a" or a=="e" or a=="o" or a=="o'" or a=="i" or a=="u":
print("unli harf")
else:
print("raqam yoki undosh harf kiritildi")
zor
a=input(":")
if a=="a":
print("bu unli")
elif a=="u":
print("bu unli")
elif a=="o":
print("bu unli")
elif a=="e":
print("bu unli")
elif a=="ui":
print("bu unli")
else:
print("bu undosh")
harf1 = input('Harfdi kiriting:')
harf0 = ("a","o","u","o'","i","e")
if harf1.isalpha():
if harf1 == harf0:
print('unli harf ')
else:
print('unli harf emas ')
else:
print('harf emas ')
Darslar zo`z
harf = input('harf kiriting: ')
letter = ''
if harf =='a':
letter += 'unli'
elif harf == 'e':
letter += 'unli'
elif harf == 'u':
letter += 'unli'
elif harf == 'i':
letter += 'unli'
elif harf == 'o':
letter += 'unli'
elif harf == 'o`':
letter += 'unli'
elif harf == 'q':
letter += 'undosh'
elif harf == 'w':
letter += 'undosh'
elif harf == 'r':
letter += 'undosh'
elif harf == 't':
letter += 'undosh'
elif harf == 'y':
letter += 'undosh'
elif harf == 'p':
letter += 'undosh'
elif harf == 's':
letter += 'undosh'
elif harf == 'd':
letter += 'undosh'
elif harf == 'f':
letter += 'undosh'
elif harf == 'g':
letter += 'undosh'
elif harf == 'h':
letter += 'undosh'
elif harf == 'j':
letter += 'undosh'
elif harf == 'k':
letter += 'undosh'
elif harf == 'l':
letter += 'undosh'
elif harf == 'z':
letter += 'undosh'
elif harf == 'x':
letter += 'undosh'
elif harf == 'c':
letter += 'undosh'
elif harf == 'v':
letter += 'undosh'
elif harf == 'b':
letter += 'undosh'
elif harf == 'n':
letter += 'undosh'
elif harf == 'm':
letter += 'undosh'
print(letter)
if harf.isdigit():
print('bu raqam iltimos harf kiritin')
a = input('Harf kiriting: ')
if a == 'a':
print('Unli harf')
elif a == 'e':
print('Unli harf')
elif a == 'i':
print('Unli harf')
elif a == 'o':
print('Unli harf')
elif a == 'u':
print('Unli harf')
elif a == 'o`':
print('Unli harf')
else:
print('Undosh harf')
if a == '':
print('Hard kiriting')
uyga vazifa
letter = input('harf kiriting: ')
if letter == 'a' and 'i' and 'u' and 'e' and 'o':
print('Unli ')
else:
print('Undosh')
Assalomu Alaykum Botir Aka Mana Eng Zo'r yo'l Xuddi Siz Aytganingizdek bir Tekshirib Ko'ring Iltimos
welcome = input("Kiriting: ")
if welcome == 'A':
print("Unli Xarf Bu!")
elif welcome == 'E':
print("Unli Xarf Bu!")
elif welcome == 'I':
print("Unli Xarf Bu!")
elif welcome == 'O':
print("Unli Xarf Bu!")
elif welcome == 'U':
print("Unli Xarf Bu!")
elif welcome == "O'":
print("Unli Xarf Bu!")
elif welcome.isdigit():
print("Raqam Kiritmang!")
else:
print("Undosh Xarf")
a = str(input('Harfni kiriting: '))
if a=='a':
print('bu unli harf')
elif a == 'e':
print('bu unli harf')
elif a =='i':
print('bu unli harf')
elif a == 'o':
print('bu unli harf')
elif a == 'u':
print('bu unli harf')
elif a == 'o`':
print('bu unli harf')
else :
print('bu undosh harf')
a = input("Harf kiriting: ").lower()
if len(a) == 1 and a.isalpha():
if a == 'a' or a == 'e' or a == 'i' or a == 'u' or a == 'o':
print("Unli harf")
else:
print("Undosh harf")
else:
print("Faqatgina 1 harf kirishingiz mumkin!")
harf = input('Harf kiriting: ')
if harf.isdigit():
print ('ILtimos harf kiriting!')
elif harf == 'a' or harf == 'e' or harf == 'i' or harf == 'u' or harf == 'o' or harf == 'o`':
print ('Kiritilgan harf unli harf!')
else:
print ('Kiritilgan harf undosh harf!')
h = input('Harf kiriting: ')
if len(h) == 1:
if h.isalpha():
h = h.casefold()
if h == 'a' or h == 'e' or h == 'i' or h == 'o' or h == 'u':
print('Kiritilgan harf - unli')
else:
print('Kiritilgan harf - undosh')
else:
print('Bunday harf alfavitda yo`q!')
else:
print('1 ta harf kiritish kerak!')
a=input('Harf kiriting: ')
if a=='a':
print('Unli harf')
elif a=='e':
print('Unli harf')
elif a=='u':
print('Unli harf')
elif a=='i':
print('Unli harf')
elif a=='o':
print('Unli harf')
else:
print('Undosh harf')
if a.isdigit():
print('Bu son')
#19.08.2023
harf = str(input("harf kiriting: "))
unli = ["a","e","i","o","u","o'"]
if harf.isalpha() and harf in unli:
print("unli harf")
elif harf.isdigit() or harf.isalpha():
print("unli harf emas")
elif not harf.isalpha():
print("bu harf emas!")
xarf = input('Xarfini kiriting: ')
if xarf in "aeiouAEIOU":
print("Bu unli xarf:", xarf)
elif xarf in "bcdfghjklmnpqrstvwxyzBCDFGHJKLMNPQRSTVWXYZ":
print("Bu undosh xarf:", xarf)
else:
print("Bunday xarf yo'q.")
harf=input('Lotin alifbosidagi harflarni kiriting: ')
if harf.isalpha():
if harf=='a'or harf=='e' or harf=='i' or harf=='o' or harf=='u' or harf=='o`':
print('Unli')
elif harf=='A'or harf=='E' or harf=='I' or harf=='O' or harf=='U' or harf=='O`':
print('Unli')
else:
print('Undosh')
else:
print('Harf kiriting')
a=input('Biror-bir harf kiritin: ')
if a.isalpha():
if a=='a' or a=='o' or a=='i' or a=='u' or a=='e':
print("{}-unli harf".format(a))
else:
print("{}-undosh harf".format(a))
else:
print("Iltimos harf kiriting")
a = input('Harf kiriting:')
if a.isalpha():
if a == 'a' or a == 'e' or a == 'i' or a == 'o' or a == 'u' or a == "o'" :
print('Siz unli harf kiritdingiz!')
else:
print('Siz undosh harf kiritdingiz')
elif a.isdigit():
print('Raqam kiritdingiz')
harf = input("Biror harf kiriting: ")
if harf.isalpha():
if harf == "a" or harf == "e" or harf == "i" or harf == "o" or harf == "u":
print("Ushbu harf unli harf")
else:
print("Ushbu harf undosh harf")
else:
print("Harf kiriting!")
xx = input('Harifni kiriting:')
unli = ('a, o, u')
undosh = ('b, p, m')
if xx in unli:
print('unli')
elif xx in undosh:
print('undosh')
else:
print('Unli yoki undosh harif kiriting!')
unli = input('Harif kriting:')
if = unli('a,b,c,e'):
print ('Unli')
else = unli(d,h,q,z,o):
print ('Undosh')
son = input('1 dan 10 gacha sonlarni kiriting va men sizga ularni inglizchasini yuboraman:' )
if son.isdigit():
son = int(son)
if son > 0 and son < 30:
qoldiq = son % 10
letter = ''
if qoldiq == 1:
letter += 'one'
elif qoldiq == 2:
letter += 'two'
elif qoldiq == 3:
letter += 'three'
elif qoldiq == 4:
letter += 'four'
elif qoldiq == 5:
letter += 'five'
elif qoldiq == 6:
letter += 'six'
elif qoldiq == 7:
letter += 'seven'
elif qoldiq == 8:
letter += 'eight'
elif qoldiq == 9:
letter += 'nine'
elif qoldiq == 10:
letter += 'ten'
print(letter)
harf = input('Bir harf kiriting: ')
if harf.isdigit():
print('Siz raqam kiritdingiz iltmos harf kiriting !!!')
if harf.isalpha() and harf == 'a' or harf == 'o' or harf == 'u' or harf == 'i' or harf == 'e':
print('Unli harf !')
else:
print('Undosh harf !')
a =["A","a","E","e","I","i","O","o","U","u","O'","o'"]
b = input(" LOTIN ALFBOSIDAN 1 XARF KIRITING >>> ")
if b in a:
print(">>>",b , "
harf = input('Bitta harf kiriting:')
if harf == 'a' or harf == 'A':
print('Unli harf ')
elif harf == 'o' or harf == 'O':
print('Unli harf ')
elif harf == 'e' or harf == 'E':
print('Unli harf ')
elif harf == 'i' or harf == 'I':
print('Unli harf ')
elif harf == 'u' or harf == 'U':
print('Unli harf ')
else:
print('Afsuski bu harf UNDOSH harf')
a = input('harf kriting: ' )
if a.isalpha():
if a == 'a'or a == 'o'or a== 'e'or a=='i'or a== 'u':
print('bu harf unli')
else:
print('bu harf undosh')
n = input(' n sonni kiriting: ')
n = int(n)
nn = n // 2
natija = 0
for num in range(1, (nn+1)):
natija = natija + (num * 2)
print(natija)
a=input()
if a.lower():
if a=='a' or a=='o' or a=='e' or a=="o'" or a=='i' or a=='u':
print("unli harif")
else:
print("undosh harif")
else:
print("harif kriting !!!!!")
harf = str(input("harfni kiriting: "))
if harf.isdigit(): ---> mana sonni aniqlashimiz uchun .isdigit() dan foydalandik
print("Iltimos harf kiriting!!! ")
elif harf == 'a' or harf == 'e' or harf == 'i' or harf == 'o' or harf == 'u' or harf == "o'":
print("Bu unli harf! ")
else:
print("Bu undosh harf! ")
harf = str(input('harf kiriting: '))
if harf .isalpha():
harf = str(harf)
if harf == 'a'or harf == 'o' or harf == 'e' or harf == 'i' or harf == 'u' or harf == "o'":
print('unli harf kiritibsiz')
else:
print('undosh harf kiritibsiz')
else:
print('iltimos harf kiriting')
Zor cuntirvosz
Faqat uy ishini boshqacha bervoszde q
a = input('harf kiriting: ')
a = a.lower()
if a.isalpha():
if a == 'a' or a == 'e' or a == 'i' or a == 'o' or a == 'u':
print('unli harf')
else:
print('undosh harf')
else:
print('bunday harf yo`q')
harf=input("lotin alifbosi unli yoki undosh :")
if harf.isalpha():
harf=str(harf)
if harf=='a' or harf=='e' or harf=='i' or harf=='o' or harf=="o'" or harf=='u':
print('unli')
else:
print('undosh')
else:
print("Iltimos lotin alifbosni kiriting ! ")
Salom Ustoz
Siz bergan topshiriq:
a=str(input().capitalize())
b=("A","E","I","O","U","O'")
if a in b:
print("Unli harf")
else:
print('Undosh harf')
Kabisa yilini hisoblaydigan dastur tuzdim aka tekshirib bering
# Kabisa yilini hisoblaydigan dastur
a = input('Yil kiriting: ')
b = 4
yil = int(a) % int(b)
if yil == (0):
print('kabisa yili')
else:
print('Kabisa yili emas')
# bu dastur kiritilgan harfni unli yoki undoshlikka tekshiradi
s = str(input('Harf kiriting: '))
unli =[ 'a', 'e', 'i', 'o', 'u', 'o`', 'A', 'E', 'I', 'O', 'U', 'O`']
if s.isalpha() and s in unli:
print(s,' harfi unli harf')
else:
print('Undosh harf')
print("Harflarning unli yoki undoshligini aniqlash")
belgi = input("Lotin alfavitidan bitta harf kiriting: ")
if belgi.isdigit():
print("Raqam kiritmang!")
elif 0
harf = input("harf kiriting: ")
if harf.isalpha():
harf = harf.lower()
if harf == "a" or harf == "o" or harf == "i" or harf == "u" or harf == "e" or harf == "o'":
print("bu UNLI harf")
else:
print("bu UNDOSH harf")
else:
print("HARF kiriting!")
print("Unli yoki undosh harflarni topamiz")
xarf = input("Xarfni kiriting
")
xarf = xarf.lower()
undosh = ["b","d","f","g","h","j","k","l","m","n","p","q","r","s","t","v","x","y","z"]
if xarf.isalpha() and len(xarf)==1:
if xarf in undosh:
print("Undosh xarf")
else:
print("Unli xarf")
else:
print("Xato kiritildi ")
print('
*******Topshiriq*******
')
harf = input('Harf kiriting: ')
if harf.isalpha():
harf = str(harf)
if harf == 'a' or harf == 'e' or harf == 'i' or harf == 'o' or harf == 'u' or harf == 'o\'':
print('{} harfi unli '.format(harf))
else :
print('{} harfi undosh'.format(harf))
else :
print('Harf kiriting')
@Botir Ziyatov o' harfni harf deb tanimayapti. belgini tekshirish uchun qaysi metod ishlatiladi shuni topolmadim String method ro'yxatidan
Hra ko'rsatyabdi😢
Ekran hira
assalomu alaykum. letter = ' ' ning ma'mosi nima . Shu joyiga tushunmadim. Vazifasini tushuntirasizmi. letter+='bir' ham qanday ishlayapti?
Harf = input("Harfni kiriting : ")
Unli= ["e","u","u","I","o","a"]
If Harf in Unli:
Print("bu harf unli")
Elif Harf.isdigit:
Print("Harf kiriting")
Else:
Print("Bu harf undosh")
Eng tezkor usul bo'lsa kerak son va vergul va boshqa belgi kiritilsa ham harf kiriting deydi
Ahmoq dastur else degan buyruqni bajarmayapti undosh yozilsa ham harf yozing deyapti
man 10 gacha yzdim
harf= input('Harfni kiriting: ')
if harf.isalpha():
#harf=str(harf)
letter=''
if harf=='a' or harf=='i' or harf=='o' or harf=='u' or harf=='o`' or harf=='e':
letter +='Unli harf'
print(letter)
else:
print('Undosh harf')
else:
print('Alfabet harfini kiritng!')
Assalomu aleykum Botir aka sizning darslaringizdan mamnunman rahmat. Men Windows xp da python darslarinigizni ishlaganim sabali bitta muammo bo'lyabdi. Pythonda input ma'lumot tipida siznig darslaringizni ishlayotganimda input malumot tipi faqat son(integer) malumotni qabul qilyabdi, harflarni(stringni) esa yo''q. Input ma'lumotning oldiga str ni qoysam ham ishlamayabdi, balki python eski versiya bo'lgani sababli o'tkazmayotgandir.Lekin Windows 10, python yangi versiyada ishlayabdi.
son = str(input("Harfni kiriting! "))
if son.isdigit():
print("xato")
elif son == "a":
print('unli')
elif son == "e":
print("E unli harf")
elif son == "u":
print("unli")
elif son == "i":
print("unli")
elif son == "o":
print("unli")
elif son == "o'":
print("unli")
else:
print("unli emas")
a = input ('Harf kiriting ')
if a.isalpha():
if a=='a'or a=='o' or a=='u' or a=='o`' or a=='i' or a=='e':
print('UNLI')
else:
print('Undosh')
else:
print('ILTIMOS Harf kiriting')
кейинги операторлар ҳақида ҳаммаълумотлар бериб ўтасизми? яни курсни давом эттирасизми
while True:
harf = str(input("bironta harf kiriting : "))
unli = ['a','i','e','u','o',"o'"]
if len(harf) > 2:
print('bir dona harf kiriting!!!')
elif (harf.lower()) in unli:
print("unli")
else:
print("Undosh")
#topshiriq
harf1=input("Biror harf kiriting: ")
letter=''
if harf1.isalpha():
harf=harf1.casefold()
if harf=='a' or harf=='e' or harf=='i' or harf=='o' or harf=='o`' or harf=='u' or harf=='а' or harf=='е' or harf=='и' or harf=='о' or harf=='ў' or harf=='у':
print("{} harfi unli harf".format(harf1))
else: print("{} harfi undosh harf".format(harf1))
else: print("Faqat harf kiriting")
Ботиржон питондаги буйруқлар ва уларни вазифасини ёритилган малумот борми ўзбекчада. масалан if- agar, else-aksxolda....... тўла буйруқлари келтирилган малумотни топса бўладими
harf = input("Harf kiriting : ")
if harf.isalpha():
unli = ['a','A','o','O','u','U','i','I','e','E']
if harf in unli:
print('unli {}'.format(harf))
else:
print('undosh {}'.format(harf))
else:
print('harf kiriting')
#_____________________________________
Harf kiriting : O
unli O
Harf kiriting : X
undosh X
Агар лотинчада o‘ киритилса канака натижа чикади деб уйлисиз
@@BotirZiyatov harf kiriting deb chqaradi
@@shahriyorabdurazzoqov4325 Демак ечимда камчилиги бор
@@BotirZiyatov isalpha funksiyasiga o' niyam joylasa boladimi???
harf = input(" Istalgan 1 ta lotin alifbosidagi harfni kiriting: ")
harflist = []
harflist.extend(harf)
if len(harflist) == 1:
if harf.isalpha():
harf = harf.casefold()
harf = harf[:1]
if harf == "a" or harf == "e" or harf == "i" or harf == "o" or harf == "u" or harf == "o'" :
print(harf,"->","Unli")
else:
print("Undosh")
else:
print(harf,"- bu faqat harflardan iborat qiymat emas !!!")
else:
print("Siz kiritgan qiymat",len(harflist),"ta elementdan iborat. Faqat 1 ta harf kiriting !!!")
❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤
harf = input('Biror harf kiriting: ')
if harf == str('a' or 'e' or 'u' or 'o' or 'i'):
print('Bu harf unli')
elif harf.isdigit():
print('Siz harf kiririshingiz kerak')
elif harf.isalpha():
print('Bu harf undosh')
else:
print('Bunday harf mavjud emas')
h = input('Harfni kiriting: ')
if h.isdigit():
print('Son emas harf kiriting')
else :
if len(h) == 1 :
if h == 'A' or 'a' or 'E' or 'e' or 'O' or 'o' or 'I' or 'i' or 'U' or 'u':
print('Kiritilgan ushbu harf unli')
else :
print('Kiritilgan ushbu harf umdosh')
else :
print('Alifboda bunday harf yo`q')
s=input('harfni kiriting: ')
if s.isalpha():
if s=='a' or s=='o' or s=='e' or s=='u' or s=='i' :
print(s,' unli harf')
else:
print(s,' undosh harf')
else :
print('harf kiriting')
unli="aeio'u"
s=input('harf kiriting: ')
if unli.find(s)>=0:
print("{} harfi unli".format(s))
else:
print("{} harfi undosh".format(s))
harf = input("biror bir harf kiriing: ")
unli = ['a','e','i','o','u']
if harf in unli:
letter = ''
if harf == 'a':
letter += 'unli'
elif harf == 'e':
letter += 'unli'
elif harf == 'i':
letter += 'unli'
elif harf == 'o':
letter += 'unli'
elif harf == 'u':
letter += 'unli'
print('unli harf')
elif harf == harf:
letter2 = ''
if harf == 'b':
letter2 += 'undosh'
elif harf == 'd':
letter2 += 'undosh'
elif harf == 'f':
letter2 += 'undosh'
elif harf == 'g':
letter2 += 'undosh'
elif harf == 'h':
letter2 += 'undosh'
elif harf == 'j':
letter2 += 'undosh'
elif harf == 'k':
letter2 += 'undosh'
elif harf == 'l':
letter2 += 'undosh'
elif harf == 'm':
letter2 += 'undosh'
elif harf == 'n':
letter2 += 'undosh'
elif harf == 'p':
letter2 += 'undosh'
elif harf == 'q':
letter2 += 'undosh'
elif harf == 'r':
letter2 += 'undosh'
elif harf == 's':
letter2 += 'undosh'
elif harf == 't':
letter2 += 'undosh'
elif harf == 'v':
letter2 += 'undosh'
elif harf == 'x':
letter2 += 'undosh'
elif harf == 'y':
letter2 += 'undosh'
elif harf == 'z':
letter2 += 'undosh'
elif harf == 'g':
letter2 += 'undosh'
elif harf == 'sh':
letter2 += 'undosh'
elif harf == 'ch':
letter2 += 'undosh'
elif harf == 'ng':
letter2 += 'undosh'
print("undosh")
else:
print("tog'ri harf kiriting: ")
harf=input('lotin Alifbosidagi istalgan harfni kiriting: ')
if harf.isdigit():
print('harf kiriting')
elif harf==str("A") or harf==str("a"):
print('Unli')
elif harf==str("E") or harf==str("e"):
print('Unli')
elif harf==str("O") or harf==str("o"):
print('Unli')
elif harf==str("U") or harf==str("u"):
print('Unli')
elif harf==str("I") or harf==str("i"):
print('Unli')
elif harf==str("O'") or harf==str("o'"):
print('Unli')
else:
print('Undosh')
# 1 dan 30 gacha sonlar kiritilganda harflarda chiqaruvchi dastur
while True :
a=input("Iltimos harf kiriting ")
if a.isalpha() :
if a=='a' or a=='e' or a=='i' or a=='o' or a=='u' or a=='o\'' or a=='o`' :
print("Unli harf")
else :
print("Undosh harf")
else :
print("Harf kiritish lozim")
Bu uncha uxshamabdi
@@mavludatemirova1862 Nimaga qanday yozsa bo'lar edi
a0 = ['a','e','o','i','u','õ']
a1 =str(input('biron harif kiriting: '))
if a1 in a0:
print('unli')
elif a1.isdigit() or len(a1) >= 2:
print('xatolik bor!')
else:
print('undosh')