1 / 9

Best AWS Training Courses in Hyderabad

Sidhi Trainings offer a unique opportunity for individuals seeking to accelerate their careers by learning trending and advanced software. Our courses are designed to provide comprehensive instruction in the latest technologies, covering everything from fundamentals to advanced concepts.

Ramya23
Download Presentation

Best AWS Training Courses in Hyderabad

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. PYTHON HTTPS://SIDHITRAININGS.COM/

  2. WHATISPYTHON Thepopularhigh-levelprogramming language Python is used in a variety ofapplications. Python'sstraightforwardsyntax makesitasimplelanguageto learn. Python may be used for straightforward tasks like graphingormoredifficultoneslike machinelearning.

  3. VARIABLES,OBJECTS,&CLASSES Variable Avariableisapointertoavaluekeptinthememoryofa computer. A variety of categories (or data types) can be used to group variables, including integers (int, float, etc.), Booleanvalues(true/false),andsequences(strings,lists, etc.). Object Anobjectisagroupofmanipulatabledatafromacomputer's memory. Despitethefactthatcertainobjectsmightbedefinedbydata referredtobynumerousvariables,ALLVARIABLESAREOBJECTS. Theactionstakenonorchangesmadetoanobject's dataarecalledmethods.Theyexplainwhatanobject can"do."

  4. VARIABLES,OBJECTS,&CLASSES Class Aclassisagroupofobjectsthatallusethesame variablesandfunctions. Alloftheobjects(instances)thatmakeuptheclasshave ablueprintinthedefinitionoftheclass. The same variables (colour, size, shape, etc.) may be presentinseveralinstances,buttheydonotallhavethe samevalues(blue/red/pink,small/large,square/circular, etc.).

  5. BASICSYNTAXRULES Yourvariable'sname(myInt,etc.)ispositionedtotheleftofthe"=" operator. Themajorityofvariablenamesareincamelcase,whichstartswitha lowercaseletterforthefirstwordandcapitalisesanyfollowingterms. In snake case, all words are lowercase and there are underscores betweenthem,variablenamescanalsooccur. Thevariablenameissetequaltothememoryaddresswhereyour valueisstoredviatheassignmentoperator("="). The"Hello,World"variablevalueispositionedtotherightofthe"=" operator. Thisvalue'stypeneednotbespecified,butitsformatmustadhereto acertainobjecttype(asillustrated).

  6. BASICSYNTAXRULES FunctionSyntax Whenyouusethedef...keyword,youaredeclaringanewfunction. Thenameofyourfunctionisreferredtobyfunction().Thistermis oftenwritteninlowercaseanddesignatesaverboraction. Theterms"parameters"(i.e.,"values"or"variables")thatcanbeused withinthedefinitionalexpressionsofyourfunctionare"a"and"b."An emptyparenthesis()isusedifyourfunctionhasnoparameters. Anoptionalstatementcalled"return"willsendavaluefromyour functionbacktotheoriginalcall.

  7. BASICSYNTAXRULES Callingafunction Use the function's name (function()) to invoke it, followed by any requiredparameters(1,2)enclosedinparenthesesandseparated bycommas.:function(1,2);myValue Youhavetheoptionofsettingyourfunctioncall'sargumentequalto avariable(myValue).Yourvariablenamewillbesettothefunction's returnvalue.

  8. COMMONDATATYPESANDOPERATORS BUSINESS A data type is a way to categorise a value and specify the actionsthatmaybecarriedoutonit.Anobject'sdatatypeis universal. Operatorsaresymbolsthatperformcertaintasksorcalculations.

  9. ThankYou

More Related