Python || Q10 .Program for the requirement,input: a4b3c2 and expected output: aaaabbbcc

preview_player
Показать описание
java python
python
python by durgasoft
python videos by durgasoft
Python Online Training
Learn Python
Python Tutorial
python programming Tutorial
python Programming Language Tutorial
python examples
python Advanced Tutorial
python Tutorial for Beginners with examples
python Guide
python 3.0 Tutorial
python crash course
Python Tutorial for Beginners
Python Tutorial for Absolute Beginners
Python Tutorials by durgasoft
Python Programming videos by durgasir
=========================================
You an see more Java videos following link:

Java tutorial by durga sir

Java 9 by durga sir

Java 1.8 Version New Features by Durga sir

Adv Java JDBC Tutorial by Durga sir

OCJA 1.8 Java SE 8 Programmer - I (1Z0 - 808 ) By Durga sir

Core Java by NagoorBabu sir

Advenced Java by Nagoorbabu sir

CoreJava by Ratan

Advanced Java jdbc by Ratan

Advjava tutorials - JSP by Ratan

Adv java servlets tutorial by ratan

Servlet and JSP Tutorial by anji reddy

Advanced Java Jdbc by Anjireddy

Hibernate byAnjireddy

Struts by Anjireddy

Spring by Mr.AnjiReddy

ADV JAVA by Naveen

Spring by Mr.Naveen

Hibernate by Mr. Naveen

Struts by Mr.Naveen
Рекомендации по теме
Комментарии
Автор

s = 'a4b3c2'
for i in range(len(s)):
if s[i].isalpha():
print(s[i]*int(s[i+1]), end = "")

AkshayaReddyKoduri
Автор

thank you very much sir for this video

saddamahmad
Автор

Hi sir, could you please explain the python code for the given input s = '5A11B1C2D' and output

venkatTeja-ntzj
Автор

This program wont work for values >=10.

sampraveen
Автор

what if i want to pass integer first and then alphabet

harijagadeeshiyer
Автор

Input: aaabbcaab
Output:a3b2c1a2b1explain code sir python

markkamalam
Автор

if i give a5b15 its not working the output is lol

testingdood
Автор

Sir could u upload it for the reverse....for eg: input:aaabbccccd
Output:a3b2c4d1

WandersOfAnanth
Автор

why is my conclusion like this?
Enter some string where alphabet symbols should be followed by digit: a1b3z2
a
abbb
abbbzz

sanjarbakenbaev