while loop in python | Lec-12

  Рет қаралды 1,867

MANISH KUMAR

MANISH KUMAR

Күн бұрын

Пікірлер: 15
@GauravKumar-im5zx
@GauravKumar-im5zx 9 ай бұрын
Bhai ek cheez bolunga ki kabhi demotivate mat hona coz you are a motivation for alot of people like me. Aapki videos k basis par hi main iss saal data engineer ki job ki preparation kar rha hun and ek badhiya opportunity grab karunga and will let you know. Currently working in Capgemini and will switch. Keep going bhai.
@pankajrathod5906
@pankajrathod5906 9 ай бұрын
Sir aapke spark ke video dekhke bohat kuch samajhme aaya.. Bohat simple me aap samjhjatey ho Thank u sir for this
@sandeshkandel4154
@sandeshkandel4154 9 ай бұрын
Brother,,, reguary video upload kijiye na please,, Hum aaoke videos dekhkr bohot kuch sikhne ko paarahe hain
@chgeetanjali7919
@chgeetanjali7919 2 ай бұрын
number_list = [] while True: while True: no = int(input("Enter number: ")) number_list.append(no) break while True: op = input("Enter operator: ") if op in ("+", "-", "*", "/"): number_list.append(op) break elif op =="=": break else: print("Invalid operator. Try again.") continue if op == '=': break print(number_list)
@shrutikansal9831
@shrutikansal9831 8 ай бұрын
You are really doing a great job, it is very easy to understand and quite deep + informative. Can you please make video series on Kafka as well. It is very important topic for data engineers especially with growing market and competition. Please make it, very much needed.
@VarshaSorout-vj9is
@VarshaSorout-vj9is 29 күн бұрын
heyy your python series for data engineeering or enough playlist?
@manish_kumar_1
@manish_kumar_1 27 күн бұрын
Not completed yet
@VarshaSorout-vj9is
@VarshaSorout-vj9is 27 күн бұрын
@manish_kumar_1 i m asking this is for beigneers or data engineers to?
@manish_kumar_1
@manish_kumar_1 27 күн бұрын
@@VarshaSorout-vj9is it's for both
@PragteeTathe
@PragteeTathe 3 ай бұрын
print("1.Addition 2.subtraction 3.Multiplication 4.Division") while(True): p=int(input("Please entered your choice :")) if(p==1): x=int(input("Enter the first number")) y=int(input("Enter the second Number")) z=(x+y) print(z) if(p==2): x=int(input("Enter the first number")) y=int(input("Enter the second Number")) z=(x-y) print(z) if(p==3): x=int(input("Enter the first number")) y=int(input("Enter the second Number")) z=(x*y) print(z) if(p==4): x=int(input("Enter the first number")) y=int(input("Enter the second Number")) if(y!=0): z1=(x/y) print(z1) else: print("Division not possible")
@snehsparsh7954
@snehsparsh7954 2 күн бұрын
# Start with an initial result of 0 result = float(input("Enter the first number: ")) while True: # Take the operator as input operator = input("Enter operator (+, -, *, /) or '=' to get result: ") # Exit the loop if the user enters '=' if operator == "=": print(f"The final result is: {result}") break # Ensure that the operator is valid if operator not in ['+', '-', '*', '/']: print("Invalid operator. Please enter a valid operator.") continue # Take the next number as input num = float(input("Enter next number: ")) # Perform the operation based on the operator if operator == "+": result += num elif operator == "-": result -= num elif operator == "*": result *= num elif operator == "/": # Check for division by zero if num == 0: print("Error: Division by zero is not allowed.") continue result /= num # Display the updated result after each operation print(f"Current result: {result}")
@JyotiRanjanMohanty-v1s
@JyotiRanjanMohanty-v1s 9 ай бұрын
def operation(num1, opr, num2): result = 0 if (opr == '+'): result = float(num1) + float(num2) elif (opr == '-'): result = float(num1) - float(num2) elif (opr == '*'): result = float(num1) * float(num2) elif (opr == '/'): result = float(num1) / float(num2) else: print("Pass proper operator") return return result number = [] while True: while True: try: num1 = float(input("Enter a number ")) if (isinstance(num1,(int, float))): number.append(num1) break except: print("Enter proper number ") continue while True: try: oper1 = input("Enter Operator [+ , -, *, /]: ") if (oper1 in "+-*/"): number.append(oper1) break elif oper1 == '=': break else: continue except: print("Enter proper Operator ") continue if oper1 == '=': break print("Number List is ",number) i = 0 while (i
list comprehension in python | Lec-13
15:26
MANISH KUMAR
Рет қаралды 2,4 М.
tuple in python | Lec-16
31:13
MANISH KUMAR
Рет қаралды 1,5 М.
УДИВИЛ ВСЕХ СВОИМ УХОДОМ!😳 #shorts
00:49
From Small To Giant 0%🍫 VS 100%🍫 #katebrush #shorts #gummy
00:19
Cheerleader Transformation That Left Everyone Speechless! #shorts
00:27
Fabiosa Best Lifehacks
Рет қаралды 9 МЛН
Easy Folding Magnetic Bookmarks with a Cricut | Great Beginner Cricut Project
15:22
While Loops in Python | Python for Beginners
5:40
Alex The Analyst
Рет қаралды 69 М.
error handling in python | Lec-23
29:13
MANISH KUMAR
Рет қаралды 1,9 М.
My 2 Year Journey of Learning C, in 9 minutes
8:42
VoxelRifts
Рет қаралды 658 М.
javascript callback functions tutorial
15:40
techsith
Рет қаралды 462 М.
.join() method in python | Lec-20
24:04
MANISH KUMAR
Рет қаралды 1,8 М.
for Loop vs. while Loop in Python
8:45
Neso Academy
Рет қаралды 45 М.
УДИВИЛ ВСЕХ СВОИМ УХОДОМ!😳 #shorts
00:49