Strings are a data type that stores a sequence of characters, and can be created in different ways. 00:01 Python uses double quotes and escape sequences for creating strings. 02:06 Concatenating and finding length of strings in Python 06:09 String manipulation in Python and understanding string length and indexing 08:27 Slicing in Python involves accessing parts of a string and is crucial for dealing with data in machine learning. 13:02 Explaining string indexing and slicing in Python 15:03 Backward counting is helpful for string manipulation 18:50 Understanding string functions, ends with 20:47 Learn about string replacement and find functions in Python 24:35 Count function in strings can be used to find the occurrences of a substring 26:47 Conditional statements are used to execute code based on specific conditions. 30:36 Using indentation and conditional statements in Python 32:31 Difference between 'if' and 'lf' 36:27 Using 'if' and 'else' statements in Python 38:22 Using conditional statements and logical operators to calculate grades. 42:09 Using conditional statements to determine grades based on student marks in Python 44:17 Even numbers are divisible by two with no remainder 48:23 Program to find the greatest value among three numbers 50:31 Understanding multiples and basic coding practice 55:10 Thanks me later 👍
One word for this girl *AWESOME* 😢 Unfortunately, We had some weirdos in schools and college who really work hard to ruin our career, now gradually things making sense, thank you for your clean and clear method of teaching. 🎉❤
a1=int(input("Enter 1st no . = ")) a2=int(input("Enter 2nd no . = ")) a3=int(input("Enter 3rd no . = ")) a4=int(input("Enter 4th no . = ")) if(a1>a2 and a1>a3 and a1>a4): print("1st no. is largest") elif(a2>a3 and a2>a4): print("2nd no. is largest") elif(a3>a4): print("3rd no. is largest") else: print("4th no. is largest")
num1 = int(input("Enter the first number: ")) num2 = int(input("Enter the second number: ")) num3 = int(input("Enter the third number: ")) num4 = int(input("Enter the fourth number: ")) # Use the max function greatest = max(num1, num2, num3, num4) print(f"The greatest number is", greatest)
00:01 Strings are a data type that stores a sequence of characters, and can be created in different ways. 02:06 Python uses double quotes and escape sequences for creating strings. 06:09 Concatenating and finding length of strings in Python 08:27 String manipulation in Python and understanding string length and indexing 13:02 Slicing in Python involves accessing parts of a string and is crucial for dealing with data in machine learning. 15:03 Explaining string indexing and slicing in Python 18:50 Backward counting is helpful for string manipulation 20:47 Understanding string functions, ends with 24:35 Learn about string replacement and find functions in Python 26:47 Count function in strings can be used to find the occurrences of a substring 30:36 Conditional statements are used to execute code based on specific conditions. 32:31 Using indentation and conditional statements in Python 36:27 Difference between 'if' and 'lf' 38:22 Using 'if' and 'else' statements in Python 42:09 Using conditional statements and logical operators to calculate grades. 44:17 Using conditional statements to determine grades based on student marks in Python 48:23 Even numbers are divisible by two with no remainder 50:31 Program to find the greatest value among three numbers 55:10 Understanding multiples and basic coding practice
Thank you for making these series, while I was doing 1st one I wished I get the second lecture without breaking time and you made it true , You making it cup of a tea! thank you so much ❤❤
very great idea i am waiting for many month for dsa with python because on youtube no one teach dsa with python and i request all student who connected with apna college comment dsa with python
Please complete the series mam You are the only teacher whose teaching I understand the most If you complete the series with project and all then its good otherwise please launch a course on apna college I am willing to buy it if I gets like Sigma batch
I have a request the amount of energy and effort you are putting on this videos to make it fruitful , it is really heart touching to the listeners, but the moment if you will make your channel commercialize again , those who not able to pay single rupee, their self confidence and trust on you will destroy. So just share your knowledge freely and spread it across the globe. Surly all blessings will come to you towards success. The ultimate truth is the viewers are already paying for internet amount to watch your video by hook or crook. Hope you understand the pain of the viewers.
shradha di you are the best teacher in the world , i am from non IT background , i am also a non science student but i understand concepts so well because you teach them so well .I am so grateful to you. Thank you so muchhhhhhh☺☺☺☺☺☺
CODE DONE MAM::::::::::>>{ a=int(input("enter first number:")) b=int(input("enter second number:")) c=int(input("enter third number:")) d=int(input("enter fourth number:")) if(a>=b and a>=c and a>=b): print("first is the largest",a) elif(b>=c and b>=d): print("second is largest",b) elif(c>=d): print("third is the largest",c) else: print("fourth is the largest",d)
a = int(input("enter first number : ")) b = int(input("enter second number : ")) c = int(input("enter third number : ")) d = int(input("enter forth number : ")) if(a>=b and a>=c and a>=d): print("largest number =",a) elif(b>=c and b>=d): print("largest number =",b) elif(c>=d): print("largest number =",c) else: print("largest number =",d) ❤❤
I was worried a lot ...how to do ,what to do , but she makes the things very easy ... .it was a long video heads off to her she sat so long to prepare this video and to make the things ease for us .....we really appreciate your work ....thanks from heart ❤️
H.w problem a = int(input("enter first number: ")) b = int(input("enter second number:")) c = int(input("enter third number: ")) d = int(input("enter fourth number: ")) If(a>=b and a>=c and a>=d): Print("first number is largest" , a) elif(b>=c and b>=d): Print("second number is largest", b) elif(c>=d): Print("third number is largest", c) else: Print("fourth number is largest" , d) I think this is right 👍 53:45😅
I dont know why professors teach by assuming that we know all the basics in the 1st Semester ? 😢😢 , Thank God , Teachers like you exist and teach for free in a wonderful way .🙏🙏
✦ Strings are a data type that stores a sequence of characters, and can be created in different ways. 00:01 ✦ Python uses double quotes and escape sequences for creating strings. 02:06 ✦ Concatenating and finding length of strings in Python 06:09 ✦ String manipulation in Python and understanding string length and indexing 08:27 ✦ Slicing in Python involves accessing parts of a string and is crucial for dealing with data in machine learning. 13:02 ✦ Explaining string indexing and slicing in Python 15:03 ✦ Backward counting is helpful for string manipulation 18:50 ✦ Understanding string functions, ends with 20:47 ✦ Learn about string replacement and find functions in Python 24:35 ✦ Count function in strings can be used to find the occurrences of a substring 26:47 ✦ Conditional statements are used to execute code based on specific conditions. 30:36 ✦ Using indentation and conditional statements in Python 32:31 ✦ Difference between 'if' and 'lf' 36:27 ✦ Using 'if' and 'else' statements in Python 38:22 ✦ Using conditional statements and logical operators to calculate grades. 42:09 ✦ Using conditional statements to determine grades based on student marks in Python 44:17 ✦ Even numbers are divisible by two with no remainder 48:23 ✦ Program to find the greatest value among three numbers 50:31 ✦ Understanding multiples and basic coding practice
for those who are saying that negative slicing is difficult here is a simple way to do that see we have a variable str = "Apna College" so agar hamein chahiye str[-6:-3] to hum kia kar sakte hai ke length of string se hum minus kr den ge 6 ko to hamare paas aiga 5 or 3 ko karen ge to aiga 8 means it come str[5:8] to ye bhi bohat acha tarika hai for beginners
light = input("What is the colour of light?") if(light == "green"): print("You can go ") elif(light == "red"): print("Wait!!") elif(light == "orange"): print("wait a second")
Thanks for all your help. practice maximum out of 4 different number a = int(input("Enter First number")) b = int(input("Enter Second number")) c = int(input("Enter Third number")) d= int(input("Enter Forth number")) if a>=b and a>=c and a>=d: print("First number is Greatest: ", a) elif b>=c and b>=d: print("Second number is Greatest: ", b) elif c>=d: print("Third number is Greatest: ", c) else: print("Forth number is Greatest: ", d) Yeah, I did the same but then i tried giving a three digit input such as a = 67, b = 79, c = 54, d = 525...but it got error after trying very much then i tried replacing three digit number with 2 digit and got it correct...and then realised that its just taking 2 digits from starting in larger digit numbers...if i would put 875 then coz 87 is greater than 79 it will output 875 :)
a = int(input("entern first number")) b = int(input("entern first number")) c = int(input("entern first number")) d = int(input("entern first number")) if(a>=b and a >= c): print("first number is lergest", a ) elif(a>= d ): print("first number is lergest", a ) elif(b>=c): print("seconmd number is lergest", b ) elif(c>=d): print("seconmd number is lergest", c) else: print("third is largest",d) # WAP to find the greatest of 3 number's entered by the user check it
a = int(input("Enter First number")) b = int(input("Enter Second number")) c = int(input("Enter Third number")) d= int(input("Enter Forth number")) if (a>=b and a>=c and a>=d): print("First number is Greatest: ", a) elif (b>=c and b>=d): print("Second number is Greatest: ", b) elif (c>=d): print("Third number is Greatest: ", c) else: print("Forth number is Greatest: ", d) # the same code is running you have to write the condition under the bracket ( )
HW question: a=int(input("enter your first number :")) b=int(input("enter your second number :")) c=int(input("enter your third number :")) d=int(input("enter your fourth number :")) if(a>=b and a>=c and a>=d): print("first number is largest that is",a) elif(b>c): print("second number is largest that is",b) elif(c>d): print("third number is largest that is",c) else: print("fourth number is largest that is",d)
# homework which one is greater among 4 numbers f=6 g=6 h=9 j=8 if (f>g and f>h and f>j): print (" f is greater ") elif (g>h and g>j): print (" g is greater ") elif h>j: print ("h is greater ") else: print('j is greater ')
53:48 a = int(input("enter your first number :")) b = int(input("enter your second number :")) c = int(input("enter your third number :")) d = int(input("enter your forth number :")) if(a >= b and a >= c and a >=d): print("first number is greatest",a) elif(b >= a and b >= c and b >=d): print("second number is greatest",b) elif(c >=a and c >=b and c >=d): print("third number is greatest",c) else: print("forth number is greatest",d)
Thanks for all your help. practice maximum out of 4 different number a = int(input("Enter First number")) b = int(input("Enter Second number")) c = int(input("Enter Third number")) d= int(input("Enter Forth number")) if a>=b and a>=c and a>=d: print("First number is Greatest: ", a) elif b>=c and b>=d: print("Second number is Greatest: ", b) elif c>=d: print("Third number is Greatest: ", c) else: print("Forth number is Greatest: ", d)
Yeah, I did the same but then i tried giving a three digit input such as a = 67, b = 79, c = 54, d = 525...but it got error after trying very much then i tried replacing three digit number with 2 digit and got it correct...and then realised that its just taking 2 digits from starting in larger digit numbers...if i would put 875 then coz 87 is greater than 79 it will output 875 :)
Hey I am not an engineer and keen to learn python language and searching randomly in you tube for lectures and luckily found your course and found it very useful. Your way of explaining things made the process interesting rather than reading from book and then practicing which was kind of very boring. Thanks for this entire basic syllabus and once I am fully done will write back full feedback with learning progress😀 :)
Code for finding largest number from 4 values a = int(input("enter first number :")) b = int(input("enter second number :")) c = int(input("enter third number :")) d = int(input("enter fourth number :")) if(a >= b and a >= c and a >= d): print("the first number is largest :", a) elif(b >= c and b >= d): print("the second number is largest :", b) elif(c >= d): print("the third number is largest :", c) else: print("the fourth number is largest :", d)
di my code for greatest of three number with some modifications: num1=int(input("Enter first number:")) num2=int(input("Enter second number:")) num3=int(input("Enter third number:")) if(num1>=num2 and num1>=num3): if(num1==num2): print("both first and second number are greatest") elif(num1==num3): print("both first and third number are greatest") else: print("first number is greatest") elif(num2==num3): print("both second and third number are greatest") elif(num2>=num3): print("second number is greatest") else: print("THird number is greatest") FOR FOUR NUMBERS: num1=int(input("Enter first number:")) num2=int(input("Enter second number:")) num3=int(input("Enter third number:")) num4=int(input("Enter fourth number:")) if(num1>=num2 and num1>=num3 and num1>=num4): if(num1==num2): print("both first and second number are greatest") elif(num1==num3): print("both first and third number are greatest") elif(num1==num4): print("both first and fourth number are greatest") else: print("first number is greatest") elif(num2>=num3 and num2>=num4): if(num2==num3): print("both numbers second and third are greatest") elif(num2==num4): print("both numbers second and fourth are greatest") else: print("number second is grearest") elif(num3>=num4): if(num3==num4): print("both third and fourth number are greatest") else: print("number three is greatest") else: print("number four is greatest") thank you for the hint in the video😊
a = int(input("Please enter a number")) b = int(input("Please enter a number")) c = int(input("Please enter a number")) if (a>b and a>c): print(a) print("a is the largest number") elif(b>c): print(b) print("b is the largest number") else: print(c) print("c is the graetest number")
# largest of 4 numbers a=int(input("enter first number ")) b=int(input("enter second number ")) c=int(input("enter third number ")) d=int(input("enter fouth number ")) if(a>=b and a>=c and a>=d): print("first number is greatest ") elif(b>=c and c>=d): print(" second number is greatest") elif(c>=d): print("third number is greatest") else: print("fourth number is geatest")
Escape squence characters str1 ="This is a String, We are creting in phython " print(str1) Conctenations: str1 ="Tayyab" str2="ALi" print(str1+str2) str="tayyab ali" chr=str[0] print(chr) :::::::::::::::::::::::::::::::::: FIRST FUNCTION; str ="I am styding phuthon from apna college" print(str.endswith("egh")) SECOND FUNCTION: str ="i am styding phuthon from apna college" print(str.capitalize()) THIRD FUNCTION str ="i am styding phuthon from apna college" print(str.replace("phuthon","javascript")) FOURTH FUCNTION: str ="i am styding phuthon from apna college" print(str.find("am")) FIFTH FUCTION: str ="i am from styding phuthon from apna college" print(str.count("from")) practice: name=input("enter youre name: ") print("length of a string:",len(name)) practice: str="Hye am the $ dollor symbol $ 99.99" print (str.count("$")) :::::::::::::::::::::::::::::::::: CONDITIONAL STATEMENTS: marks=int(input("Enter the Student Marks : " )) if(marks>=90): grade="A" elif(marks>=80 and marks =70 and marks < 80): grade="C" else: grade ="D" print("Grade Of the Student -->",grade) :::::::::::::::::::::::::::::::::::::::::::::::::::: age = int(input("Enter the Ge of a Driver: ")) if(age>=18): if(age>=80): print("cannot Drive") else: print("can Drive") else: print('cannot Drive') ::::::::;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; PRACTICE !: num= int(input("Enter the numbers :")) if(num % 2 == 0): print("The number is a Even Number:") else: print("The number is odd") """""""""""""""""""""""""""""""""" WAP to find the gratest number entered by the users: PRoGRam: a= int(input("Enter the First numbers :")) b= int(input("Enter the Second numbers :")) c= int(input("Enter the Third numbers :")) if(a>=b and a>=c): print("First numbe is largest: ",a) elif(b>=c): print("Second number is largest: ",b) else: print("Third number id largest: ",c) """""""""""""""""'''''''"""""""""""""""" a= int(input("Enter the First numbers :")) b= int(input("Enter the Second numbers :")) c= int(input("Enter the Third numbers :")) d= int(input("Enter the Fourth numbers :")) if(a>=b and a>=c and a>=d): print("First numbe is largest: ",a) elif(b>=c): print("Second number is largest: ",b) elif(c>=d): print("Third number ka bara hy:" ,c) else: print("Fourth number id largest: ",c) :""""""""""""""""""""""""""""" check they are multiple of or Not ???? program: x= int(input("Enter the First numbers :")) if(x % 7 ==0): print("multiple of 7") else: print("not a multiple of a 7")
Thank you so much I was curiously waiting for second lecture ❤❤ Please share 1 video of python series daily.This video is very helpful for the beginners and the others who read python first tiem
Largest number from 4 numbers: a=int(input("enter first no.:")) b=int(input("enter second no.:")) c=int(input("enter third no.:")) d=int(input("enter fourth no.:")) if(a>d): if(a>c): if(a>b): print("1st grreatest nummber",a) else: print("2nd is the greatest number",b) else: print("3rd is the greatest number",c) else: print("4th is the greatest number",d)
a = int(input("Enter first number: ")) b = int(input("Enter second number: ")) c = int(input("Enter third number: ")) d = int(input("Enter fourth number: ")) if(a >= b and a >= c and a >= d): print(a) elif(b >= a and b >= c and b >= d): print(b) elif(c >= a and c >= b and c >= d): print(c) else: print(d) it is the write code of Maximum of 4 numbers
a = int(input("Enter the first number = ")) b = int(input("Enter the Second number = ")) c = int(input("Enter the Third number = ")) d = int(input("Enter the fourth number = ")) if (a >= b and b >= c): print(" the first number is Largest",a) elif(b >= c): print("Second Number is largest",b) elif (c >= d): print("Third is largest",c) else: print("Fourth is largest",d)
num1 = int(input("write any number you like :-")) num2 = int(input("choose second num :- ")) num3 = int(input("select third num :- ")) num4 = int(input(" selct fouth num :-")) if(num1 >= num2 and num1 >= num3 and num1 >= num4): print (num1) elif(num2 >= num3 >= num4): print(num2) elif(num3 >= num4): print(num3) else: print (num4)
a = int(input("enter the value: ")) b = int(input("enter the value: ")) c = int(input("enter the value: ")) d = int(input("enter the value: ")) if(a >= b and c and a >= c and d ): print(a ,"is greatest") elif(b >= a and c and b >= c and d): print(b ,"is greatest") elif(c >= a and b and c >= b and d): print(c ,"is greatest") else: print(d ,"is greatest")
grade= int(input("Enter your markes: ")) if grade >= 90: print("Your Grade is A") elif grade >= 80: print("Your Grade is B ") elif grade >= 70: print("Your Grade is C") else: print("You are ढ ")
no one have like you on entire yt your explanation teaching style notes every things is top level i mean i love your lectures even not only python i learnt lots of things from yr playlist like css,js,html,dbms and python you r outstanding
a = int(input("1st :")) b = int(input("2nd :")) c = int(input("3rd :")) d = int(input("4th :")) if(a>b and a>b and a>d): print(a ,"is largest") elif(b>c and c>d): print(b ," is largest") elif(c>d): print(c , "is the largest") else: print(d, "is the largest number") # for 4 numbers which is largest
Home work a=int(input("enter no 1:")) b=int(input("enter no 2:")) c=int(input("enter no 3:")) d=int(input("enter no 4:")) if(a > b and a > c): print("N1",a) elif(b>c and b>d): print("N2",b) elif(c>d): print("N3",c) else: print("N4",d)
tommorow is my computer science exam and i am watching this glamouras tutorial like the way she explains and she also do practical. thank you ma'am for teaching me i dont have any computer teacher at my home. thank you for helping me in exam hunny a student of class 7th b
Di Maine apka H.W complete kar diya a=int(input ("enter your first num:---")) b=int(input ("enter your second num:---")) c=int(input ("enter your third num:---")) d=int(input ("enter your fourth num:---")) if(a>=b and a>=c): print("a is largest num") elif(b>=c and b>=d): print("b is largest num") elif(c>=d and c>=a): print("c is largest num") else: print("d is largest num")
This first two lecture are very easy to study and this is so imp for my computer engieneer study & Thank you for making this beautiful and excellent tutorial with this much effort!! ❤❤❤❤❤
53:49 a = int(input("Enter num1: ")) b = int(input("Enter num2: ")) c = int(input("Enter num3: ")) d = int(input("Enter num4: ")) if(a >= b and a >= c and a >= d): print("num1 is greatest",a) elif(b >= c and b >=d): print("num2 is greatest",b) elif(c >= d): print("num3 is greatest",c) else: print("num4 is greatest",d)
HW - Greatest number in given 4 numbers - CODE: a = int(input("Enter your First Number : ")) b = int(input("Enter your Second Number : ")) c = int(input("Enter your Third Number : ")) d = int(input("Enter your Fourth Number : ")) if(a >= b and a >= c and a >= d): great = a elif(b >= c and b >= d): great = b elif(c >= d): great = c else: great = d print("Greatest Number is =", great)
For the HW Question: WAP for greatest of 4 a = int(input('enter your 1st number: ')) b = int(input('enter your 2nd number: ')) c = int(input('enter your 3rd number: ')) d = int(input('enter your 4th number: ')) if(a>=b and a>c or a>d): print("a is the greatest number.") elif(b>=c and b>d): print("b is the greatest number.") elif(c>=d and c>a): print("c is the greatest number.") else: print("d is the greatest number")
number1=int(input("enter first no")) number2=int(input("enter second no")) number3=int(input("enter third no")) number4=int(input("enter fourth no")) if(number1>number2 and number1>number3 and number1>number4): print("number1 is greater") elseif(number2>number3 and number2>number4): print("number 2 is geater") elseif(number3>number4): print("number 3 is greater") else: print("number 4 is greater")
Highest number in 4 numbers: a=int(input("Enter frist number: ")) b=int(input("Enter second number: ")) c=int(input("Enter thard number: ")) d=int(input("Enter forth number: ")) if(a>=b and a>=c and a>=d): print("The largest number is %s." %a) elif(b>=c and b>=d): print("The largest number is %s." % b) elif(c>=d): print("The largest number is %s." % c) else: print("The largest number is %s." % d)
Q1: num=int(input("Enter your number:")) if(num%2==0): print("Even") else: print("Odd") Q2: num1=int(input("Enter your 1st number:")) num2=int(input("Enter your 1st number:")) num3=int(input("Enter your 1st number:")) if(num1>num2 and num1>num3): print("num1 is greater than num2 and num3") elif(num2>num1 and num2>num3): print("num2 is greater than num1 and num3") else: print("num3 is greater than num1 and num2") Q3: num=int(input("Enter your number:")) if(num%7==0): print("Multiple of 7") else: print("Not")
Q. wap to find gretest of 4 number enterd by the user. a = int(input("enter first number:")) b = int(input("enter second number:")) c = int(input("enter thirdnumber:")) d = int(input("enter forth number:")) if( a>=b and a>=c and a>=d): print("largest number is -> ",a ) elif( b>=a and b>=c and b>=d): print("lagrest number is -> ",b) elif( c>=a and c>=b and c>=d): print("largest number is -> ",c) else: print("largest number is -> ",d)
str.capitalize() --> You said this function makes the first character to UpperCase(Capital). But actually this function also makes all other characters to Lower Case which are in Upper case.
# Que 2 :- WAP to find the greatest of three number enter by the user. a = 67 b = 31 c = 43 if(a > b and a > c): print("A :- Biggest") if(b > c): print("B Greater Than") else: print("c") elif(b > c): print("B Greater Than") else: print("c") IS IT CORRECT
Strings are a data type that stores a sequence of characters, and can be created in different ways.
00:01
Python uses double quotes and escape sequences for creating strings.
02:06
Concatenating and finding length of strings in Python
06:09
String manipulation in Python and understanding string length and indexing
08:27
Slicing in Python involves accessing parts of a string and is crucial for dealing with data in machine learning.
13:02
Explaining string indexing and slicing in Python
15:03
Backward counting is helpful for string manipulation
18:50
Understanding string functions, ends with
20:47
Learn about string replacement and find functions in Python
24:35
Count function in strings can be used to find the occurrences of a substring
26:47
Conditional statements are used to execute code based on specific conditions.
30:36
Using indentation and conditional statements in Python
32:31
Difference between 'if' and 'lf'
36:27
Using 'if' and 'else' statements in Python
38:22
Using conditional statements and logical operators to calculate grades.
42:09
Using conditional statements to determine grades based on student marks in Python
44:17
Even numbers are divisible by two with no remainder
48:23
Program to find the greatest value among three numbers
50:31
Understanding multiples and basic coding practice
55:10
Thanks me later 👍
You are a livesaver❤❤😊😅
thanks a lot but i read comments whn i ended the videoo
@@vishal1980able Us bhai us
legend
th-cam.com/video/Eyp36KUYC_g/w-d-xo.html
One word for this girl *AWESOME*
😢 Unfortunately, We had some weirdos in schools and college who really work hard to ruin our career, now gradually things making sense, thank you for your clean and clear method of teaching. 🎉❤
are those bullies?
@@teclues3893 he meant bad teachers
@@teclues3893I don't think so I think he is talking about teacher
for convenience use : windows key + ->(arrow key) to split the windows into 2 tabs so that you can code and watch tutorial simultaneously.
thank u
thanks bro
ye koi kehne wali baat hai ye toh aata hai
Good for those who discovered it for the first time like me
Is these 9 lectures are basic to high level? Or something more we have to learn?
a1=int(input("Enter 1st no . = "))
a2=int(input("Enter 2nd no . = "))
a3=int(input("Enter 3rd no . = "))
a4=int(input("Enter 4th no . = "))
if(a1>a2 and a1>a3 and a1>a4):
print("1st no. is largest")
elif(a2>a3 and a2>a4):
print("2nd no. is largest")
elif(a3>a4):
print("3rd no. is largest")
else:
print("4th no. is largest")
num1 = int(input("Enter the first number: "))
num2 = int(input("Enter the second number: "))
num3 = int(input("Enter the third number: "))
num4 = int(input("Enter the fourth number: "))
# Use the max function
greatest = max(num1, num2, num3, num4)
print(f"The greatest number is", greatest)
@@ADIATHASANRIYAD THANK YOU FOR THE TIPS☺
@ADIATHASANRIYAD bhai is video me max btaya gya hai??? Ab aisa hai to me c++ me code likh deta hu
@@ADIATHASANRIYAD thank you so much bro
colour = input("Write the traffic light colour :")
if (colour == "Red"):
print("stop")
elif (colour == "Green"):
print("Go")
elif (colour == "Yellow"):
print("Wait")
00:01 Strings are a data type that stores a sequence of characters, and can be created in different ways.
02:06 Python uses double quotes and escape sequences for creating strings.
06:09 Concatenating and finding length of strings in Python
08:27 String manipulation in Python and understanding string length and indexing
13:02 Slicing in Python involves accessing parts of a string and is crucial for dealing with data in machine learning.
15:03 Explaining string indexing and slicing in Python
18:50 Backward counting is helpful for string manipulation
20:47 Understanding string functions, ends with
24:35 Learn about string replacement and find functions in Python
26:47 Count function in strings can be used to find the occurrences of a substring
30:36 Conditional statements are used to execute code based on specific conditions.
32:31 Using indentation and conditional statements in Python
36:27 Difference between 'if' and 'lf'
38:22 Using 'if' and 'else' statements in Python
42:09 Using conditional statements and logical operators to calculate grades.
44:17 Using conditional statements to determine grades based on student marks in Python
48:23 Even numbers are divisible by two with no remainder
50:31 Program to find the greatest value among three numbers
55:10 Understanding multiples and basic coding practice
Mam your way of teaching is so good and crystal clear.
I also thought the same😁😁
Thank you for making these series, while I was doing 1st one I wished I get the second lecture without breaking time and you made it true , You making it cup of a tea! thank you so much ❤❤
th-cam.com/video/Eyp36KUYC_g/w-d-xo.html
Like 👍🏻 those who want DSA with Python on Apna College 🔥
very great idea i am waiting for many month for dsa with python because on youtube no one teach dsa with python and i request all student who connected with apna college comment dsa with python
Dsa with py
@@parthsojitra9221 dsa with python
dsa with python
DSA with PYTHON ❤
Please complete the series mam
You are the only teacher whose teaching I understand the most
If you complete the series with project and all then its good otherwise please launch a course on apna college I am willing to buy it if I gets like Sigma batch
@rehankabir7601 lol😂
I have a request the amount of energy and effort you are putting on this videos to make it fruitful , it is really heart touching to the listeners, but the moment if you will make your channel commercialize again , those who not able to pay single rupee, their self confidence and trust on you will destroy. So just share your knowledge freely and spread it across the globe. Surly all blessings will come to you towards success. The ultimate truth is the viewers are already paying for internet amount to watch your video by hook or crook. Hope you understand the pain of the viewers.
th-cam.com/video/Eyp36KUYC_g/w-d-xo.html
Ye language kis kis ka first language hai
Me
th-cam.com/video/Eyp36KUYC_g/w-d-xo.html
Me
And me
Me😊
a = int(input("input number : "))
b = 2
e = a % b
if(e == 0):
print("This is an Even number")
else:
print("this is an odd number")
Nice😊
We can simply write as
a=int(input("enter a number "))
If a%2==0:
Print ("number is even")
Else:
Print(number is odd)
😊
@@NsrinivasReddy-kt8js
num = int(input("enter the number"))
if(num % 2 == 0):
print("EVEN")
else:
print("ODD")
MINE IS MORE EZ
🗿🗿
It's correct but your method is confusing a little bit
@@spaceasphalt9510eat 5star do nothing
shradha di you are the best teacher in the world , i am from non IT background , i am also a non science student but i understand concepts so well because you teach them so well .I am so grateful to you.
Thank you so muchhhhhhh☺☺☺☺☺☺
CODE DONE MAM::::::::::>>{
a=int(input("enter first number:"))
b=int(input("enter second number:"))
c=int(input("enter third number:"))
d=int(input("enter fourth number:"))
if(a>=b and a>=c and a>=b):
print("first is the largest",a)
elif(b>=c and b>=d):
print("second is largest",b)
elif(c>=d):
print("third is the largest",c)
else:
print("fourth is the largest",d)
a = int(input("enter first number : "))
b = int(input("enter second number : "))
c = int(input("enter third number : "))
d = int(input("enter forth number : "))
if(a>=b and a>=c and a>=d):
print("largest number =",a)
elif(b>=c and b>=d):
print("largest number =",b)
elif(c>=d):
print("largest number =",c)
else:
print("largest number =",d)
❤❤
yea
I was worried a lot ...how to do ,what to do , but she makes the things very easy ... .it was a long video heads off to her she sat so long to prepare this video and to make the things ease for us
.....we really appreciate your work ....thanks from heart ❤️
A = str(" Do you see $")
Print(find[$])
invalid syntax😊
Successfully erroe
Brother, do this to make it run
A = "Do you see $"
print(A.find("$"))
Keep learning!
Best Python Tutorial I have ever found on TH-cam.
Thank you for making this beautiful and excellent tutorial with this much effort!!❤❤❤
Excellent way of teaching. Love for your lectures. Very efficient and easy to understand.From Pakistan
H.w problem
a = int(input("enter first number: "))
b = int(input("enter second number:"))
c = int(input("enter third number: "))
d = int(input("enter fourth number: "))
If(a>=b and a>=c and a>=d):
Print("first number is largest" , a)
elif(b>=c and b>=d):
Print("second number is largest", b)
elif(c>=d):
Print("third number is largest", c)
else:
Print("fourth number is largest" , d)
I think this is right 👍 53:45😅
wrong
@@subhadipmondal230whats wrong with this code?
It's right
@@ashakumawat4610 1st logical statement is wrng ig
Wonderful brother!.
42.48 we do not need code mark
@Shradha Khapra Didi please check and tell me if i am right or wrong I am new!
Awesome class. Shraddha didi's teaching is very easy to understand. Thank you so much ❤
I dont know why professors teach by assuming that we know all the basics in the 1st Semester ? 😢😢 , Thank God , Teachers like you exist and teach for free in a wonderful way .🙏🙏
✦
Strings are a data type that stores a sequence of characters, and can be created in different ways.
00:01
✦
Python uses double quotes and escape sequences for creating strings.
02:06
✦
Concatenating and finding length of strings in Python
06:09
✦
String manipulation in Python and understanding string length and indexing
08:27
✦
Slicing in Python involves accessing parts of a string and is crucial for dealing with data in machine learning.
13:02
✦
Explaining string indexing and slicing in Python
15:03
✦
Backward counting is helpful for string manipulation
18:50
✦
Understanding string functions, ends with
20:47
✦
Learn about string replacement and find functions in Python
24:35
✦
Count function in strings can be used to find the occurrences of a substring
26:47
✦
Conditional statements are used to execute code based on specific conditions.
30:36
✦
Using indentation and conditional statements in Python
32:31
✦
Difference between 'if' and 'lf'
36:27
✦
Using 'if' and 'else' statements in Python
38:22
✦
Using conditional statements and logical operators to calculate grades.
42:09
✦
Using conditional statements to determine grades based on student marks in Python
44:17
✦
Even numbers are divisible by two with no remainder
48:23
✦
Program to find the greatest value among three numbers
50:31
✦
Understanding multiples and basic coding practice
for those who are saying that negative slicing is difficult here is a simple way to do that see we have a variable str = "Apna College" so agar hamein chahiye str[-6:-3] to hum kia kar sakte hai ke length of string se hum minus kr den ge 6 ko to hamare paas aiga 5 or 3 ko karen ge to aiga 8 means it come str[5:8] to ye bhi bohat acha tarika hai for beginners
I have no words for your great efforts Shradha mam and Aman sir❤️ Thank you so much👍
light = input("What is the colour of light?")
if(light == "green"):
print("You can go ")
elif(light == "red"):
print("Wait!!")
elif(light == "orange"):
print("wait a second")
Thanks for all your help. practice maximum out of 4 different number
a = int(input("Enter First number"))
b = int(input("Enter Second number"))
c = int(input("Enter Third number"))
d= int(input("Enter Forth number"))
if a>=b and a>=c and a>=d:
print("First number is Greatest: ", a)
elif b>=c and b>=d:
print("Second number is Greatest: ", b)
elif c>=d:
print("Third number is Greatest: ", c)
else:
print("Forth number is Greatest: ", d)
Yeah, I did the same but then i tried giving a three digit input such as a = 67, b = 79, c = 54, d = 525...but it got error after trying very much then i tried replacing three digit number with 2 digit and got it correct...and then realised that its just taking 2 digits from starting in larger digit numbers...if i would put 875 then coz 87 is greater than 79 it will output 875 :)
a = int(input("entern first number"))
b = int(input("entern first number"))
c = int(input("entern first number"))
d = int(input("entern first number"))
if(a>=b and a >= c):
print("first number is lergest", a )
elif(a>= d ):
print("first number is lergest", a )
elif(b>=c):
print("seconmd number is lergest", b )
elif(c>=d):
print("seconmd number is lergest", c)
else:
print("third is largest",d)
# WAP to find the greatest of 3 number's entered by the user
check it
a = int(input("Enter First number"))
b = int(input("Enter Second number"))
c = int(input("Enter Third number"))
d= int(input("Enter Forth number"))
if (a>=b and a>=c and a>=d):
print("First number is Greatest: ", a)
elif (b>=c and b>=d):
print("Second number is Greatest: ", b)
elif (c>=d):
print("Third number is Greatest: ", c)
else:
print("Forth number is Greatest: ", d)
# the same code is running you have to write the condition under the bracket ( )
Computer Science Technology (CST) koi Dekh rahi ho tho like koro
Thanks mam to teach us ❤😊 30:52
HW question:
a=int(input("enter your first number :"))
b=int(input("enter your second number :"))
c=int(input("enter your third number :"))
d=int(input("enter your fourth number :"))
if(a>=b and a>=c and a>=d):
print("first number is largest that is",a)
elif(b>c):
print("second number is largest that is",b)
elif(c>d):
print("third number is largest that is",c)
else:
print("fourth number is largest that is",d)
Mam next language C++ full course please ❤
yess
# homework which one is greater among 4 numbers
f=6
g=6
h=9
j=8
if (f>g and f>h and f>j):
print (" f is greater ")
elif (g>h and g>j):
print (" g is greater ")
elif h>j:
print ("h is greater ")
else:
print('j is greater ')
You really explain the topic in detailed manner...I have become your fan..
53:48
a = int(input("enter your first number :"))
b = int(input("enter your second number :"))
c = int(input("enter your third number :"))
d = int(input("enter your forth number :"))
if(a >= b and a >= c and a >=d):
print("first number is greatest",a)
elif(b >= a and b >= c and b >=d):
print("second number is greatest",b)
elif(c >=a and c >=b and c >=d):
print("third number is greatest",c)
else:
print("forth number is greatest",d)
Thank you so much I was curiously waiting for second lecture ❤❤
th-cam.com/video/Eyp36KUYC_g/w-d-xo.html
Thanks for all your help. practice maximum out of 4 different number
a = int(input("Enter First number"))
b = int(input("Enter Second number"))
c = int(input("Enter Third number"))
d= int(input("Enter Forth number"))
if a>=b and a>=c and a>=d:
print("First number is Greatest: ", a)
elif b>=c and b>=d:
print("Second number is Greatest: ", b)
elif c>=d:
print("Third number is Greatest: ", c)
else:
print("Forth number is Greatest: ", d)
Yeah, I did the same but then i tried giving a three digit input such as a = 67, b = 79, c = 54, d = 525...but it got error after trying very much then i tried replacing three digit number with 2 digit and got it correct...and then realised that its just taking 2 digits from starting in larger digit numbers...if i would put 875 then coz 87 is greater than 79 it will output 875 :)
Try it :
Str=I am a boy
print(str[ : ])
Output :
I am a boy
Explained everything very effectively in much simpler ways.
Thanks 🙏🏻
i love her method of teaching
Hey I am not an engineer and keen to learn python language and searching randomly in you tube for lectures and luckily found your course and found it very useful. Your way of explaining things made the process interesting rather than reading from book and then practicing which was kind of very boring. Thanks for this entire basic syllabus and once I am fully done will write back full feedback with learning progress😀 :)
You are a brilliant Teacher . God bless you.
Code for finding largest number from 4 values
a = int(input("enter first number :"))
b = int(input("enter second number :"))
c = int(input("enter third number :"))
d = int(input("enter fourth number :"))
if(a >= b and a >= c and a >= d):
print("the first number is largest :", a)
elif(b >= c and b >= d):
print("the second number is largest :", b)
elif(c >= d):
print("the third number is largest :", c)
else:
print("the fourth number is largest :", d)
Thankyou maam
Please give a roadmap for machine learning
b = int(input("enter secound value:"))
c = int(input("enter thried value:"))
d = int(input("enter fourth value:"))
if(a>=b and a>=c):
print("greater ",a)
elif(b>=c and b>=d):
print("greater ",b)
elif(c>=d):
print("greater ",c)
else:
print("greater",d)
This actually helped , Thankyou MAM for making the series
di my code for greatest of three number with some modifications:
num1=int(input("Enter first number:"))
num2=int(input("Enter second number:"))
num3=int(input("Enter third number:"))
if(num1>=num2 and num1>=num3):
if(num1==num2):
print("both first and second number are greatest")
elif(num1==num3):
print("both first and third number are greatest")
else:
print("first number is greatest")
elif(num2==num3):
print("both second and third number are greatest")
elif(num2>=num3):
print("second number is greatest")
else:
print("THird number is greatest")
FOR FOUR NUMBERS:
num1=int(input("Enter first number:"))
num2=int(input("Enter second number:"))
num3=int(input("Enter third number:"))
num4=int(input("Enter fourth number:"))
if(num1>=num2 and num1>=num3 and num1>=num4):
if(num1==num2):
print("both first and second number are greatest")
elif(num1==num3):
print("both first and third number are greatest")
elif(num1==num4):
print("both first and fourth number are greatest")
else:
print("first number is greatest")
elif(num2>=num3 and num2>=num4):
if(num2==num3):
print("both numbers second and third are greatest")
elif(num2==num4):
print("both numbers second and fourth are greatest")
else:
print("number second is grearest")
elif(num3>=num4):
if(num3==num4):
print("both third and fourth number are greatest")
else:
print("number three is greatest")
else:
print("number four is greatest")
thank you for the hint in the video😊
Bhai.. Chhota krna hota hai.. Complex nhi
Kisi ne college me fee dekar yaha seekh rahe hai😂😂
Present
a = int(input("Please enter a number"))
b = int(input("Please enter a number"))
c = int(input("Please enter a number"))
if (a>b and a>c):
print(a)
print("a is the largest number")
elif(b>c):
print(b)
print("b is the largest number")
else:
print(c)
print("c is the graetest number")
Need DSA full Course ❤
Yes me also complete pytho dsa
dsa?
Homework Question:
num1 = int(input("Number1 = "))
num2 = int(input("Number2 = "))
num3 = int(input("Number3 = "))
num4 = int(input("Number4 = "))
if(num1>=num2 and num1>=num3 and num1>=num4):
print("Number 1 is greatest.")
elif(num2>=num1 and num2>num3 and num2>num3):
print("Number 2 is greatest.")
elif(num3>=num1 and num3>num2 and num3>num4):
print("Number 3 is greatest.")
else:
print("Number 4 is greatest.")
gud its correct
i am from Pakistan maam you are very good teacher. Thank you so much I was curiously waiting for the second lecture ❤❤
me too
# largest of 4 numbers
a=int(input("enter first number "))
b=int(input("enter second number "))
c=int(input("enter third number "))
d=int(input("enter fouth number "))
if(a>=b and a>=c and a>=d):
print("first number is greatest ")
elif(b>=c and c>=d):
print(" second number is greatest")
elif(c>=d):
print("third number is greatest")
else:
print("fourth number is geatest")
BCA Student are here guysss❤❤❤❤
Me also
youtube.com/@Tarun-Thakur77?si=d8bVOp0FD9PEv6si
Escape squence characters
str1 ="This is a String,
We are creting in phython "
print(str1)
Conctenations:
str1 ="Tayyab"
str2="ALi"
print(str1+str2)
str="tayyab ali"
chr=str[0]
print(chr)
::::::::::::::::::::::::::::::::::
FIRST FUNCTION;
str ="I am styding phuthon from apna college"
print(str.endswith("egh"))
SECOND FUNCTION:
str ="i am styding phuthon from apna college"
print(str.capitalize())
THIRD FUNCTION
str ="i am styding phuthon from apna college"
print(str.replace("phuthon","javascript"))
FOURTH FUCNTION:
str ="i am styding phuthon from apna college"
print(str.find("am"))
FIFTH FUCTION:
str ="i am from styding phuthon from apna college"
print(str.count("from"))
practice:
name=input("enter youre name: ")
print("length of a string:",len(name))
practice:
str="Hye am the $ dollor symbol $ 99.99"
print (str.count("$"))
::::::::::::::::::::::::::::::::::
CONDITIONAL STATEMENTS:
marks=int(input("Enter the Student Marks : " ))
if(marks>=90):
grade="A"
elif(marks>=80 and marks =70 and marks < 80):
grade="C"
else:
grade ="D"
print("Grade Of the Student -->",grade)
::::::::::::::::::::::::::::::::::::::::::::::::::::
age = int(input("Enter the Ge of a Driver: "))
if(age>=18):
if(age>=80):
print("cannot Drive")
else:
print("can Drive")
else:
print('cannot Drive')
::::::::;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
PRACTICE !:
num= int(input("Enter the numbers :"))
if(num % 2 == 0):
print("The number is a Even Number:")
else:
print("The number is odd")
""""""""""""""""""""""""""""""""""
WAP to find the gratest number entered by the users:
PRoGRam:
a= int(input("Enter the First numbers :"))
b= int(input("Enter the Second numbers :"))
c= int(input("Enter the Third numbers :"))
if(a>=b and a>=c):
print("First numbe is largest: ",a)
elif(b>=c):
print("Second number is largest: ",b)
else:
print("Third number id largest: ",c)
"""""""""""""""""'''''''""""""""""""""""
a= int(input("Enter the First numbers :"))
b= int(input("Enter the Second numbers :"))
c= int(input("Enter the Third numbers :"))
d= int(input("Enter the Fourth numbers :"))
if(a>=b and a>=c and a>=d):
print("First numbe is largest: ",a)
elif(b>=c):
print("Second number is largest: ",b)
elif(c>=d):
print("Third number ka bara hy:" ,c)
else:
print("Fourth number id largest: ",c)
:"""""""""""""""""""""""""""""
check they are multiple of or Not ????
program:
x= int(input("Enter the First numbers :"))
if(x % 7 ==0):
print("multiple of 7")
else:
print("not a multiple of a 7")
Thank you so much I was curiously waiting for second lecture ❤❤
Please share 1 video of python series daily.This video is very helpful for the beginners and the others who read python first tiem
Largest number from 4 numbers:
a=int(input("enter first no.:"))
b=int(input("enter second no.:"))
c=int(input("enter third no.:"))
d=int(input("enter fourth no.:"))
if(a>d):
if(a>c):
if(a>b):
print("1st grreatest nummber",a)
else:
print("2nd is the greatest number",b)
else:
print("3rd is the greatest number",c)
else:
print("4th is the greatest number",d)
Kaun kaun B tech krne se phle dekh Raha h
Pehle nahi baad mein
Me
@@radhakrishnakn5391 nice ☺️
Me
a = int(input("Enter first number: "))
b = int(input("Enter second number: "))
c = int(input("Enter third number: "))
d = int(input("Enter fourth number: "))
if(a >= b and a >= c and a >= d):
print(a)
elif(b >= a and b >= c and b >= d):
print(b)
elif(c >= a and c >= b and c >= d):
print(c)
else:
print(d)
it is the write code of Maximum of
4 numbers
Mca students attendance here✌️✌️
😊 which college you do..?
@@soumalyapal8157 soa, bhubaneswar.....ur
OMG MCA me yahi padh rahe abhi tak ...😱
Am imca student 😅
Marks= int(input("enter student marks"))
if(Marks >= 90):
print("grad A")
elif(Marks>=70):
print("grade B")
elif(Marks>=50):
print("grade C")
elif(Marks>=30):
print("grade D")
else:
print("grade F")
Thanks didi you are an excellent teacher
I have no words for you
a = int(input("Enter the first number = "))
b = int(input("Enter the Second number = "))
c = int(input("Enter the Third number = "))
d = int(input("Enter the fourth number = "))
if (a >= b and b >= c):
print(" the first number is Largest",a)
elif(b >= c):
print("Second Number is largest",b)
elif (c >= d):
print("Third is largest",c)
else:
print("Fourth is largest",d)
Koi civil engineering wala bhi hai kya 😅😅😅
😂
num1 = int(input("write any number you like :-"))
num2 = int(input("choose second num :- "))
num3 = int(input("select third num :- "))
num4 = int(input(" selct fouth num :-"))
if(num1 >= num2 and num1 >= num3 and num1 >= num4):
print (num1)
elif(num2 >= num3 >= num4):
print(num2)
elif(num3 >= num4):
print(num3)
else:
print (num4)
Thank you mam for this amazing lecture.. 💚
I am in class 11
it will definitely help me in my exams💖
1st year. ??
@@Pritam52 Bro class 11(school)
@@vedikasharma4212 great 👍
One playlist on ReactJs
Any 6th class student like me?
No,I'm 8,and you are really lucky to start it early .best of luck from my side 👍
Yes bro😊😊😊😊 Mai hu na 🎉🎉🎉🎉🎉
Are khelo masti Karo itani bhi kay jaldi he😅😅
@@pranavtawale6891bc pogo dekhne ki umar mai python dekhre😂
Me to LKG ka hu
great ☺miss SHRADHA , from Pakistan
Tq mam , I finally completed lecture 1 & it's practice Q's . Your way of teaching helped me a lot .
Please ek playlist on ReactJs
Concept padhne se jda mza question solve karne me aa rha hai 🙂
Thank ❤I love your videos from village
This is the best lecture ever
Q1
Str = thanks di
Print(len(Str))
Output - 9
Electrical koi ye dekh raha to like kre
Kis college se ho??
@@Pritam52 passout hu cec college Jharkhand
@@Pritam52 sayad tm to nit se ho
Electrical Kashmir University 6th sem
@@kuchv6564 hn jii
a = int(input("enter the value: "))
b = int(input("enter the value: "))
c = int(input("enter the value: "))
d = int(input("enter the value: "))
if(a >= b and c and a >= c and d ):
print(a ,"is greatest")
elif(b >= a and c and b >= c and d):
print(b ,"is greatest")
elif(c >= a and b and c >= b and d):
print(c ,"is greatest")
else:
print(d ,"is greatest")
Bsc cs or it anyone 😅 ????
I'm bsc cs student 🙋♂️
Im going to bsc cs soon
I am in 10 th bro
I'm IT student
@@snowygirl8043 hii me too
value=int(input("Enter a number: "))
if(value % 2 == 0):
print("Num is Even")
else:
print("Num is Odd")
num = 1
rem = num % 2
if ( rem == 0):
print ( "even")
else:
print ( "odd")
grade= int(input("Enter your markes: "))
if grade >= 90:
print("Your Grade is A")
elif grade >= 80:
print("Your Grade is B ")
elif grade >= 70:
print("Your Grade is C")
else:
print("You are ढ ")
no one have like you on entire yt your explanation teaching style notes every things is top level i mean i love your lectures even not only python i learnt lots of things from yr playlist like css,js,html,dbms and python you r outstanding
a = int(input("1st :"))
b = int(input("2nd :"))
c = int(input("3rd :"))
d = int(input("4th :"))
if(a>b and a>b and a>d):
print(a ,"is largest")
elif(b>c and c>d):
print(b ," is largest")
elif(c>d):
print(c , "is the largest")
else:
print(d, "is the largest number")
# for 4 numbers which is largest
Home work
a=int(input("enter no 1:"))
b=int(input("enter no 2:"))
c=int(input("enter no 3:"))
d=int(input("enter no 4:"))
if(a > b and a > c):
print("N1",a)
elif(b>c and b>d):
print("N2",b)
elif(c>d):
print("N3",c)
else:
print("N4",d)
tommorow is my computer science exam and i am watching this glamouras tutorial like the way she explains and she also do practical. thank you ma'am for teaching me i dont have any computer teacher at my home. thank you for helping me in exam
hunny
a student of class 7th b
Di Maine apka H.W complete kar diya
a=int(input ("enter your first num:---"))
b=int(input ("enter your second num:---"))
c=int(input ("enter your third num:---"))
d=int(input ("enter your fourth num:---"))
if(a>=b and a>=c):
print("a is largest num")
elif(b>=c and b>=d):
print("b is largest num")
elif(c>=d and c>=a):
print("c is largest num")
else:
print("d is largest num")
This first two lecture are very easy to study and this is so imp for my computer engieneer study
& Thank you for making this beautiful and excellent tutorial with this much effort!!
❤❤❤❤❤
53:49
a = int(input("Enter num1: "))
b = int(input("Enter num2: "))
c = int(input("Enter num3: "))
d = int(input("Enter num4: "))
if(a >= b and a >= c and a >= d):
print("num1 is greatest",a)
elif(b >= c and b >=d):
print("num2 is greatest",b)
elif(c >= d):
print("num3 is greatest",c)
else:
print("num4 is greatest",d)
HW - Greatest number in given 4 numbers - CODE:
a = int(input("Enter your First Number : "))
b = int(input("Enter your Second Number : "))
c = int(input("Enter your Third Number : "))
d = int(input("Enter your Fourth Number : "))
if(a >= b and a >= c and a >= d):
great = a
elif(b >= c and b >= d):
great = b
elif(c >= d):
great = c
else:
great = d
print("Greatest Number is =", great)
For the HW Question: WAP for greatest of 4
a = int(input('enter your 1st number: '))
b = int(input('enter your 2nd number: '))
c = int(input('enter your 3rd number: '))
d = int(input('enter your 4th number: '))
if(a>=b and a>c or a>d):
print("a is the greatest number.")
elif(b>=c and b>d):
print("b is the greatest number.")
elif(c>=d and c>a):
print("c is the greatest number.")
else:
print("d is the greatest number")
number1=int(input("enter first no"))
number2=int(input("enter second no"))
number3=int(input("enter third no"))
number4=int(input("enter fourth no"))
if(number1>number2 and number1>number3 and number1>number4):
print("number1 is greater")
elseif(number2>number3 and number2>number4):
print("number 2 is geater")
elseif(number3>number4):
print("number 3 is greater")
else:
print("number 4 is greater")
I try to find the teacher who teaches python easily and I find this channel
Thank you ❤🎉
Aap bhut acha pdate ho mam dil se thankyou ❤
Highest number in 4 numbers:
a=int(input("Enter frist number: "))
b=int(input("Enter second number: "))
c=int(input("Enter thard number: "))
d=int(input("Enter forth number: "))
if(a>=b and a>=c and a>=d):
print("The largest number is %s." %a)
elif(b>=c and b>=d):
print("The largest number is %s." % b)
elif(c>=d):
print("The largest number is %s." % c)
else:
print("The largest number is %s." % d)
Q1:
num=int(input("Enter your number:"))
if(num%2==0):
print("Even")
else:
print("Odd")
Q2:
num1=int(input("Enter your 1st number:"))
num2=int(input("Enter your 1st number:"))
num3=int(input("Enter your 1st number:"))
if(num1>num2 and num1>num3):
print("num1 is greater than num2 and num3")
elif(num2>num1 and num2>num3):
print("num2 is greater than num1 and num3")
else:
print("num3 is greater than num1 and num2")
Q3:
num=int(input("Enter your number:"))
if(num%7==0):
print("Multiple of 7")
else:
print("Not")
Q. wap to find gretest of 4 number enterd by the user.
a = int(input("enter first number:"))
b = int(input("enter second number:"))
c = int(input("enter thirdnumber:"))
d = int(input("enter forth number:"))
if( a>=b and a>=c and a>=d):
print("largest number is -> ",a )
elif( b>=a and b>=c and b>=d):
print("lagrest number is -> ",b)
elif( c>=a and c>=b and c>=d):
print("largest number is -> ",c)
else:
print("largest number is -> ",d)
str.capitalize() --> You said this function makes the first character to UpperCase(Capital). But actually this function also makes all other characters to Lower Case which are in Upper case.
# Que 2 :- WAP to find the greatest of three number enter by the user.
a = 67
b = 31
c = 43
if(a > b and a > c):
print("A :- Biggest")
if(b > c):
print("B Greater Than")
else:
print("c")
elif(b > c):
print("B Greater Than")
else:
print("c")
IS IT CORRECT
You are awesome seriously.....the way you speak ....the way you are teaching...amazing...amazing...amazing....
Hello didi..... I am 10th standard student and niw i am learning python from you ...its my great pleasure......
Me too😅😅