Frequently Asked Python Program 1: How To Swap 2 Numbers

Frequently Asked Python Program 1: How To Swap 2 Numbers

SDET- QA

4 года назад

150,117 Просмотров

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


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

deshi Village
deshi Village - 10.10.2023 12:56

Easy method
a,b=b,a
That's happen only in python 😊

Ответить
suruchi
suruchi - 31.08.2023 02:05

Approach 2

num1, num2 = num2, num1

Ответить
Manuel Meekattukulam
Manuel Meekattukulam - 15.07.2023 04:12

Thanks a lot for these tutorials!

Ответить
Deepu Surampalli
Deepu Surampalli - 12.03.2023 17:02

Sir these are enough for jntuh r18 python subject please reply me sir

Ответить
Dheeraj Deokar
Dheeraj Deokar - 02.01.2023 16:58

Simply num1, num2=num2, num1

Ответить
Samved
Samved - 21.11.2022 16:32

Wap to convert given number into words like: 23 = twenty three

Ответить
Kolavennu Sreeram
Kolavennu Sreeram - 06.09.2022 22:21

Can we do the same for 3 variables as well? The same shortcut approach works there as well?

Ответить
recreation_simple_designs
recreation_simple_designs - 24.02.2022 18:00

Sir ,the screen is not visible clearly

Ответить
Dheeraj Sharma
Dheeraj Sharma - 21.12.2021 08:08

hi sir, please teach one program for string compression also like aabbcc = a2b2c2....Thanks in advance

Ответить
Ruthlomyst
Ruthlomyst - 13.04.2021 19:27

Why do you not work in Python itself?

Ответить
Geeky Anshu
Geeky Anshu - 12.12.2019 02:03

Thank you Sir for these series

Ответить