Homework Help for Computer Science

2,800 results

Today, computing is an integral and a very visible aspect of our everyday life. Learn the essentials of the design and development of computing sofware and hardware

For unlimited access to Homework Help, a Homework+ subscription is required.

Avatar image
dravidkarthikeyan611 asked for the first time
Avatar image
hari9816 asked for the first time
Avatar image
nikhilkumarmakam2004 asked for the first time
Avatar image
ekmoorthy1974 asked for the first time
in Computer ScienceĀ·
14 Jan 2024

so this is the first lecture of ourĀ 

python code so you can say python courseĀ 

we will see in this video introductionĀ 

to python rightĀ 

like you can say some features of thisĀ 

language application areas who are usingĀ 

this python why this is so popularĀ 

nowadays some features this kind ofĀ 

thing we'll be discussing in this videoĀ 

about python or pythonĀ 

i'll pronounce it as python right okayĀ 

now see python is nowadays the mostĀ 

popular programming language but you canĀ 

say it is the fastest growingĀ 

programming language nowadays it's notĀ 

like that it is new language because youĀ 

you know you think thatĀ 

recently it is it has become so popularĀ 

so it is aĀ 

new language noĀ 

the concept of python came into pictureĀ 

in 1989Ā 

and even javaĀ 

was you know the concept of java or cameĀ 

into picture in 1995 so it is beforeĀ 

javaĀ 

right butĀ 

recently in past few years likeĀ 

python has become so much popular andĀ 

why so that also will discussĀ 

right now basically in every area pythonĀ 

is being used right now the main areasĀ 

are machine learning data scienceĀ 

artificial intelligence see nowadays theĀ 

data is a big problem many companiesĀ 

like you can say your facebookĀ 

youtube any shopping websitesĀ 

they are havingĀ 

data of billions of users right and howĀ 

they manage that dataĀ 

and one more thing is what see i thinkĀ 

you have noticedĀ 

if you suppose uhĀ 

nowadays iĀ 

you know a search for especially chickenĀ 

carry kurtasĀ 

rightĀ 

soĀ 

i have i've been looking for theseĀ 

kurtas on two or three website shoppingĀ 

websites and whenever i open any otherĀ 

website you know for studyĀ 

that kind of thingĀ 

soĀ 

those relevant ads they show meĀ 

now ads of those chicken curry kurtasĀ 

and all so have they come to know theĀ 

advertisers like how they come to knowĀ 

that i'm interested in buying thoseĀ 

chicken curry kurtasĀ 

so this is what they have analyzed myĀ 

dataĀ 

howĀ 

many websites i have visited in whichĀ 

how you know i'm interested so they haveĀ 

analyzed that data they have collectedĀ 

my data they have analyzed that data andĀ 

according to that they have mind you canĀ 

say someĀ 

pattern they have formedĀ 

and they come to they come to know thatĀ 

i am interested in chicken keri kurta soĀ 

they show me the relevant adĀ 

i think you must have noticed this thingĀ 

alsoĀ 

rightĀ 

so this task is what this analysis ofĀ 

data and allĀ 

in this also python is being usedĀ 

rightĀ 

soĀ 

in many areas this is one application ofĀ 

this language and see in many areas likeĀ 

whether it's software development it'sĀ 

web development software testing machineĀ 

learning artificial intelligence dataĀ 

science game development making of anyĀ 

apps mobile apps desktop app websites orĀ 

web apps anything hacking even hackingĀ 

in many areasĀ 

right now python is being used and it'sĀ 

not like that small companies are usingĀ 

this language no the big giantsĀ 

companies are using this language maybeĀ 

the main language or supportive type ofĀ 

language as a support languageĀ 

you can select like google uh youtubeĀ 

cura instagram these companies are usingĀ 

these big giants are using this languageĀ 

rightĀ 

and the person who are using itĀ 

researchers scientistsĀ 

software developers software engineersĀ 

software testers game developersĀ 

mainlyĀ 

data analystĀ 

and even school going kidsĀ 

they are alsoĀ 

learning or you can see using thisĀ 

languageĀ 

seeĀ 

becauseĀ 

you know researchers and scientists theyĀ 

want usĀ 

like they don't want to you know uhĀ 

utilize or you can say wasted their timeĀ 

by learning a complicated language andĀ 

python is easy language so they talkĀ 

theyĀ 

went for this language python languageĀ 

so that is why recently this this fieldĀ 

is a you know on boom machine learningĀ 

artificial intelligence data scienceĀ 

this kind of thing so that is why withĀ 

that field python came into pictureĀ 

because they these kind of peopleĀ 

researchers scientists so they areĀ 

working in this field they want a simpleĀ 

language to work on right they don'tĀ 

want to waste their time on learning aĀ 

complicated type of language python isĀ 

very simple very easy to understandĀ 

language so they took it for thisĀ 

language and that is why this uhĀ 

language has become so much popularĀ 

within the you know recent years soĀ 

white has become so popular becauseĀ 

first thing is it is easy to learn easyĀ 

to understand and it has wide range ofĀ 

applications i have told you in how manyĀ 

areas almost in every areaĀ 

it's been usedĀ 

second thingĀ 

you can write down you can solve anyĀ 

problem withĀ 

fewer lines of code suppose you want toĀ 

print hello world in c languageĀ 

so that those header files main functionĀ 

and printf hello one in c plus plus alsoĀ 

header files std name space std mainĀ 

function and all in javaĀ 

those you can say the main functionĀ 

system uh sorry public static void meanĀ 

then system dot outdoor printer and thenĀ 

hello world this kind of thing inĀ 

python simply what you need to writeĀ 

printĀ 

hello worldĀ 

that's itĀ 

nothing else a simple lineĀ 

nothing elseĀ 

soĀ 

in fewer lines of code you can solveĀ 

complex problemsĀ 

right and more easily you can understandĀ 

this course so it willĀ 

you know save your time alsoĀ 

another benefit and it is high levelĀ 

language you don't need to be awareĀ 

about those memory management type ofĀ 

thing like in c you have to aware youĀ 

have to you know keep track of you haveĀ 

to manage the memory manually but hereĀ 

automatic memory management is there itĀ 

is high level language so you can doĀ 

moreĀ 

withĀ 

lessĀ 

right with the writing you can say lessĀ 

code you can do more in this it isĀ 

object-oriented programming language butĀ 

it's not like that it doesn't supportĀ 

that paradigm procedural and functionalĀ 

it supports multiple paradigmsĀ 

object-oriented procedural as well asĀ 

functionalĀ 

right it is multi-paradigm language itĀ 

is general purpose language almost inĀ 

every fieldĀ 

for making everything you can use thisĀ 

languageĀ 

it's multi-purpose languageĀ 

it isĀ 

interpreted language these are someĀ 

features of python you can just noteĀ 

down these features so it is also pythonĀ 

is interpreted language without compiledĀ 

languageĀ 

rightĀ 

and one more feature of this it is openĀ 

source right so that is why it is havingĀ 

a huge community and rich library manyĀ 

illĀ 

you know inbuilt packages modulesĀ 

functions thoseĀ 

you can use in your program withoutĀ 

writing those functions from scratchĀ 

because it is open source anyone canĀ 

contributeĀ 

in this right they can write down theirĀ 

packages or functions or modules andĀ 

they can contribute it is open sourceĀ 

anyone can useĀ 

those inbuilt functions libraries andĀ 

allĀ 

right like in cnc plusĀ 

also we have some libraries in thereĀ 

predefined functions are there these areĀ 

already defined function like uh ifĀ 

for string concatenation we use directlyĀ 

a function str tap so the definition ofĀ 

that function is already in thoseĀ 

libraries you don't have to write downĀ 

the definition of that function youĀ 

don't have to tell the compiler you justĀ 

use that header file string dot h andĀ 

you can call that function because it isĀ 

already been defined in the library byĀ 

someĀ 

other people so by someone elseĀ 

so sameĀ 

it is also having rich library becauseĀ 

it is open source soĀ 

and huge community it is having if youĀ 

are finding any difficulty in thisĀ 

so there are many forums discussionĀ 

forums you can post your queries andĀ 

definitely you will get answer forĀ 

example some libraries are you can sayĀ 

numpy pandas tensorflow for machineĀ 

learning and data science while in thisĀ 

field they use that library seeĀ 

basically libraries are whatĀ 

some codes are written codes so for someĀ 

basic functions are written on thoseĀ 

libraries so that programmers don't haveĀ 

to write down those function fromĀ 

scratch and they can reuse thoseĀ 

functions in their own program right soĀ 

thatĀ 

obviously it will save time of anyĀ 

programmer right because they are usingĀ 

they are reusing that functionĀ 

like for making chapatis you need attaĀ 

right so just go to any shop maybe youĀ 

can buy whole wheat orĀ 

atta right but the process behind thatĀ 

thing generally farmers do that processĀ 

that long processĀ 

right they have done for youĀ 

so they have built those things for youĀ 

you just have to go and buy you canĀ 

reuse that you don't have to do theĀ 

whole process from scratch because itĀ 

will take definitely long timeĀ 

and you don't know definitely most ofĀ 

you don't know how toĀ 

do that farming processĀ 

so same thing those inbuilt librariesĀ 

packages modules functions are thereĀ 

programmers can reuse those functionsĀ 

and so it saves the time of programmersĀ 

and many frameworks are also there likeĀ 

django flashĀ 

if you are interested in web developmentĀ 

rightĀ 

and i told you like automatic memoryĀ 

management is there in this languageĀ 

right and it is extensible languageĀ 

right you can extend you can supportĀ 

more features can be supported you knowĀ 

can be added like more libraries orĀ 

functions can be added because it isĀ 

open source anyone can contributeĀ 

in this thing in this open source schoolĀ 

rightĀ 

and there are lots of careerĀ 

opportunities also i'm sure this pointĀ 

is very important for you guys yeahĀ 

there is lots of career opportunitiesĀ 

for this in this fieldĀ 

for this language because you know iĀ 

told you this is one of the fastestĀ 

growing languageĀ 

in terms of developers in terms of theĀ 

companies using this language you knowĀ 

the big giants like youtube curaĀ 

instagram google these companies are allĀ 

sort of thing just using this languageĀ 

python so there are many careerĀ 

opportunities and average salary is alsoĀ 

high like it's from 8 to 12 per nmĀ 

so that is why it is so popular and i'mĀ 

sure you are aware about now thisĀ 

language some features who are using itĀ 

the application areas of python and allĀ 

so please make down your own notes ifĀ 

you have any doubt you can let me knowĀ 

in comment section you can ask me rightĀ 

and we'll be using python 3.x the latestĀ 

version of 3.x because python two pointĀ 

x that version is obsolete now it's noĀ 

longer supportedĀ 

uh from january 2020.Ā 

so they have declared that uh they'llĀ 

not support this version now so will youĀ 

work on python three point x version theĀ 

latest version whatever is thereĀ 

so in the next videoĀ 

we will seeĀ 

history of this language firstĀ 

becauseĀ 

you know before going to battle betterĀ 

know your enemyĀ 

so we'll see history of this languageĀ 

properly like the inventor of thisĀ 

language how whenĀ 

why he developed this language why thisĀ 

is called as the name python so theseĀ 

thing will be discussing in next videoĀ 

right so i'll see you in the next videoĀ 

till then byeĀ 

Ā - Generated with

Avatar image
heyarun01 asked for the first time
Avatar image
karanwalgtm asked for the first time
Avatar image
royalfaizal4 asked for the first time
Avatar image
1morris asked for the first time
in Computer ScienceĀ·
29 Dec 2023

n less than or equal to 5 print in the printers not weird okay if n is even and in the inclusive range of 6 to 20 print weird os alif n greater than or equal to 6 and n less than or equal to 20 arena weird okay if n is even and greater than 20 are now is a leaf in greater than 20 print not we are having oh in the program okay okay in the input again foreign coding practice videos music so people in the diagram in the diagram in the diagram okay in the ground level starting point is foreign first first start learning in the box is music foreign apple colon print i in the syntax within our soul driver first in the line of programming here thank you a p p l e one two three four five foreign laughter music foreign music foreign foreign for i

Ā 

plus i is foreign nah yes enter number one enter number two enter number three printers foreign foreign music foreign foreign 30 40 50 list cooler 10 20 30 40 50 storage okay first a equal to our list syria foreign range zero comma one comma two comma 3 comma four either range foreign foreign plus str i plus 1 okay enter num foreign nah is tri integer stringer cast casting okay in the first line enter num zero of i equal to first apple subscribe zero plus one upper enter numb one i equal to one now first i equal to zero equal to one now enter num internal i plus one plus one two one plus one two obviously enter num two options foreign music foreign foreign print yeah foreign foreign fifty okay print some sorry some foreign 20 30 40 50. okay foreign equal to 20 okay sum equal to sum plus some more updated value on the 10 upper 10 plus 20. sum equal to 30. i equal to 30. i equal to 30. sum equal to sum plus i someone updated value 30 plus 30 some more value 60. 60 plus 40. 50 plus 50. 50 is only foreign music foreign integer okay input number five options just just easy now foreign foreign i pray foreign foreign foreign foreign we 'll give up nested for loop programmable foreign foreign okay for j in range variables variable okay foreign foreign music foreign foreign foreign foreign foreign foreign enter for j in range 1 comma 3 print j comma apple even is other i equal to one another j equal to 1 comma two are equal to one another j equal to one line okay um foreign print jain naporta subscribe now one two three characters day comma um day one day today day one day to day three week two day one day two day three foreign foreign thank you week one day one day to day three week s no week one day on day to day three week two day one day today foreign foreign foreign foreign foreign foreign foreign music m equal to ifri double quotation in the double quotations foreign syria foreign in range one comma five times foreign for j in range foreign foreign okay now um print okay one comma i plus 1. either result foreign foreign in the line seriously foreign foreign n equal to if um foreign two two plus one and three upper range print j comma end equal to double quotations foreign foreign syria number foreign again again next video foreign foreign usually used when the number of iteration is foreign foreign while i equal to equal to 0. i equal to equal to zero iode value on a zero zero equal to equal to 0. foreign again um foreign foreign foreign foreign foreign foreign foreign foreign foreign something drone border foreign foreign print a number from one to five using while loop okay one two five ounces while i less than 5 print i oil i less than 5 print line the program in the programs again first i equal to oil cooler one less than 5. true of alsa 1 less than 5 true oppo print i upper valley yeah while okay um now foreign print ed i equal to i plus one i equal to i plus 1 upon already one one plus one is while i less than five oil two less than five true of also print is equal to i plus 1 are your value on a already two upper two plus one another value 3 0 character hippo i equal to i equal to 3. okay 3 less than 5r true of alpha is foreign while by your value five i less than 500 per 5 less than 5 1 fully power in the statements foreign music foreign foreign print i comma end equal to every double uh string photograph s in the program explains foreign 10 plus 10 value 10 and the 10 order value 20 pi equal to 20. 20 less than 200. true of also either 20 less than 200 true um 20 plus 10. foreign equal to sorry i equal to 200 plus tendency of i equal to 210 is less than 200 are 210 less than or equal to 200 i bring fully conditions either true or false 210 is write a program to print first 10 natural numbers in reverse order reverse order numbers i equal to 10 oil i equal to equal to zero okay while i greater than zero zero average print i equal to i minus 1. ten nine eight seven six five four three two one and print diagram foreign foreign i greater than 0 9 greater than 0 over true of also 9 greater than 0. again write a program to find the factorial of a number or a number or a factorials ebola five into four into three into two into one is five into four into three into one reverse is two into one two it is not two word factorial three factorial three into two into one equal to six three over factorial for six okay is foreign fact star fact into i i equal to i minus 1. foreign music foreign music 1 into iod value in a three one into three factors current value foreign foreign into i fact into i factor the current value three three into if three into two another factor the current value six okay factor the current value six okay i equal to i equal to i minus one is foreign zero characters while other while zero greater than zero in the condition s foreign started python line the collections open file new file save us document python folder collection examples duplicate members okay ipo list print type type of yeah foreign up and lastly foreign foreign foreign hippo specifications insert in the earth foreign allowed it is one two three four five six values okay position either index position zero zero zero one two three four five either index position if zero one two three four five okay zero okay friend okay not print a dot insert 0 comma eleven position zero zero under positions foreign printers foreign a dot pop up foreign foreign foreign foreign foreign foreign b is growing a b equal to b 11 23. a dot a dot extend b reported in either print is foreign music foreign foreign music foreign foreign foreign do not allow duplicate duplicate values will be removed duplicated in the curly braces foreign a of 0 equal to 12. set object does not support item assignments a dot add the main number is foreign music foreign foreign foreign okay okay in the order foreign music okay dictionary dictionary do not allow duplicate duplicate values will be will overwrite existing value first dictionary a equal to bracket open money name colon emc either not dictionary key s the value is a key value print yeah foreign one location location music for the codec okay now okay okay no no no no sorry sorry music foreign students in buddha subscribe students and the list type foreign okay well values and the values in the dictionary modification af equal to 100. run is foreign foreign music pop anyway foreign syria is not defined yeah okay output okay python order for collections for collection data types list double set dictionary python functions in the python functions foreign foreign again new file in the files in our document line or the python folder functions e function is def painter i 've been selling our function create content okay colon enter print ing okay in the in the syntax functions music um foreign foreign foreign foreign foreign input and then b equal to in put okay bro print a plus b prime in the program is foreign music foreign foreign foreign foreign program depending the first line learning foreign foreign addiction entry entropy 30. music in the first functions okay in the functions foreign foreign foreign foreign community functions and the message foreign print message output in a message foreign foreign foreign foreign message colon comma msg important is msg equal to foreign foreign foreign get the integer number from user and pass it to the function call to find even r r let the function print whether the number is even or odd is foreign enter if number mod 2 equal to equal to 0 sprint even number order number two or divided even else print i 'll sprint or okay wow okay functions foreign lyric if num or two equal to equal to 0. 10 yeah print and get in our number password foreign foreign foreign a equal to 10. ipo indirectly a equal to 10 and fully program is foreign ipana the number is if b mod 2 equal to equal to 0 print foreign else print odd put another program is find even a rodents music foreign enter a column foreign in the program s get input for a and b and pass it to the function called print range let the function print numbers from a to b now yes foreign print i originally folder in the functional print foreign okay well in the 111 default entrepreneur every planet r1 comma r24 right parameter foreign foreign foreign foreign input input enter a foreign input enter b ippo in the printed um foreign hippo even in the function are called in the functions foreign foreign foreign file save us document python folder return examples foreign painter okay print i am painder painter prime program foreign hippo return of windows statement s return i am painter is in the paint report foreign apple a equal to ten minutes reporting here for variable foreign valuable s i am a painter msg equal to i am painter other than that is value of a value of n function create return tendency a equal to value of a insulin the functional hypo call contract value print directly yeah foreign foreign people okay set yes username emc as password one to three okay first username password yes username equal to emc s password equal to one two three username input added the password equal to password equal to input okay create a function called validate validated and the validate functions depth validate function open moneygram if s underscore username username username equal to equal to union and s underscore password equal to password okay print correct else print wrong okay okay enter value for username enter value for password okay okay username username password one two three is username equal to equal to your name and s underscore password equal to equal to password print correct okay nothing function yeah emc one two three characters okay foreign directly functions should return true or false okay return true return true render foreign false equal to validate print a if um foreign equal to password is foreign everybody function ah okay def add irregular print value number

Avatar image
deepusureshnufc asked for the first time
Avatar image
karthikrajan039 asked for the first time
Avatar image
moorthytemptemp asked for the first time

Start filling in the gaps now
Log in