Авторы

  • G'offorova Zakhrabonu Ikhtiyorjon qizi-
  • Onarkulov Maksadjon Karimberdiyevich
  • Yusupov Mirsaid Abdulaziz oglu

DOI:

https://doi.org/10.71337/inlibrary.uz.esiiw.124839

Ключевые слова:

Programming in the world functions of the program main structural from parts They are known tasks will do and often result as value or information returns . In this process the “return” operator important role plays . The word “ Return” English

Аннотация

This article programming "return" operator in languages from the function result in return role and importance The article discusses the concept of " return" general definition , various programming languages (C++, Python, JavaScript, Java and others 
) usage , practical application and examples Also , from " return" of use main principles , its function inside tasks and programmers for useful tips place received . Article programming studying new leaders and experienced programmers for useful source as 
service does . 


background image

ОБРАЗОВАНИЕ НАУКА И ИННОВАЦИОННЫЕ ИДЕИ В МИРЕ

https://scientific-jl.org/obr

Выпуск журнала №-70

Часть–3_ Мая –2025

413

2181-3187

THE “RETURN” OPERATOR: THE MAIN MEANS OF RETURNING

RESULTS IN THE PYTHON PROGRAMMING LANGUAGE

zaxrobonugofforova@gmail.com

G'offorova Zakhrabonu Ikhtiyorjon qizi-

3rd year student of Applied Mathematics at

Fergana State University

maxmaqsad@gmail.com

Onarkulov Maksadjon Karimberdiyevich

f.m.f.f.d (PhD) - Associate Professor of the

Department of Applied Mathematics and Informatics

mirsaidbeky@gmail.com

Yusupov Mirsaid Abdulaziz oglu

Teacher of the Department of Applied Mathematics and Informatics

Abstract

This article programming "return" operator in languages from the function result

in return role and importance The article discusses the concept of " return" general

definition , various programming languages (C++, Python, JavaScript, Java and others

) usage , practical application and examples Also , from " return" of use main principles

, its function inside tasks and programmers for useful tips place received . Article

programming studying new leaders and experienced programmers for useful source as

service does .

Introduction

Programming in the world functions of the program main structural from parts

They are known tasks will do and often result as value or information returns . In this

process, the “return” operator important role plays . The word “ Return” English "

return " in Turkish means and function the result of the program other to the part

transmission for This is used . The article is about the “return” operator. in

programming its place , its syntax , different in languages features and practical


background image

ОБРАЗОВАНИЕ НАУКА И ИННОВАЦИОННЫЕ ИДЕИ В МИРЕ

https://scientific-jl.org/obr

Выпуск журнала №-70

Часть–3_ Мая –2025

414

2181-3187

application surrounding illuminates . Article programming those who are learning for

comfortable manual as working issued then simple from examples pull practical to

projects many information is brought .

"Return" operator and from the function the result return

The "Return" operator definition

"Return" operator from the function result as value , object or information return

for is used . Function own work when finished , press "return" taken result him/her

called to the code This process is programming modular structure provides and the

code again use opportunity gives .

Python programming return operator in the language from the function the value

return for is used . The following main to aspects attention give :

1. What is return? does it ?

Function when done , via return the result outside transmits .

from return next codes not done .

For example , two of the thigh the assembly calculating simple function seeing we

get ( in Python ):

In this example gathered function takes parameters a and b acceptance does , their

the assembly counts and via return the result Returns . Result result to the variable is

stored and will be printed later .


background image

ОБРАЗОВАНИЕ НАУКА И ИННОВАЦИОННЫЕ ИДЕИ В МИРЕ

https://scientific-jl.org/obr

Выпуск журнала №-70

Часть–3_ Мая –2025

415

2181-3187

" Return" main tasks :

- The result of the program other to the part transmission .

- Function from the deadline before completion .

- Terms and conditions based values return

2. Several the value return :

3. return and None:

If return is not specified , the function returns None :


background image

ОБРАЗОВАНИЕ НАУКА И ИННОВАЦИОННЫЕ ИДЕИ В МИРЕ

https://scientific-jl.org/obr

Выпуск журнала №-70

Часть–3_ Мая –2025

416

2181-3187


background image

ОБРАЗОВАНИЕ НАУКА И ИННОВАЦИОННЫЕ ИДЕИ В МИРЕ

https://scientific-jl.org/obr

Выпуск журнала №-70

Часть–3_ Мая –2025

417

2181-3187

4. with return conditional cases :

Practical Example : Calculator

Below is the " return" used without simple calculator function is quoted :


background image

ОБРАЗОВАНИЕ НАУКА И ИННОВАЦИОННЫЕ ИДЕИ В МИРЕ

https://scientific-jl.org/obr

Выпуск журнала №-70

Часть–3_ Мая –2025

418

2181-3187

Conclusion

"Return" operator programming inseparable part from functions result return and

their performance in management important role Plays . Various programming "

return" in languages syntax and application difference although it does , its main goal

– result transmission and the code simplification – does not change . This article via "

return" various aspects , practical examples and use rules was highlighted .

Programmers from " return" right use through effective and understandable code their

writings possible .

Adabiyotlar

1. Kernighan, B. W., & Ritchie, D. M. (1988). *The C Programming Language*.

Prentice Hall.

2. Lutz, M. (2013). *Learning Python*. O’Reilly Media.

3. Flanagan, D. (2020). *JavaScript: The Definitive Guide*. O’Reilly Media.

4. Schildt, H. (2018). *Java: The Complete Reference*. McGraw-Hill Education.

5. Online resurs: Python rasmiy hujjatlari (python.org).

6. Online resurs: Mozilla Developer Network (developer.mozilla.org).

Библиографические ссылки

Kernighan, B. W., & Ritchie, D. M. (1988). *The C Programming Language*.

Prentice Hall.

Lutz, M. (2013). *Learning Python*. O’Reilly Media.

Flanagan, D. (2020). *JavaScript: The Definitive Guide*. O’Reilly Media.

Schildt, H. (2018). *Java: The Complete Reference*. McGraw-Hill Education.

Online resurs: Python rasmiy hujjatlari (python.org).

Online resurs: Mozilla Developer Network (developer.mozilla.org).

Наиболее читаемые статьи этого автора (авторов)

Mo’minov Sarvarbek Ulug’bek o’g’li, Yusupov Mirsaid Abdulaziz o‘g‘li, Onarkulov Maksadjon Karimberdiyevich, MIJOZLAR BILAN ISHLASH , Образование наука и инновационные идеи в мире: Том 69 № 4 (2025)

Onarkulov Maksadjon Karimberdiyevich, Habibullayev Javohir Odilbek o’g’li, Knut-Morris-Prat algoritmi , Образование наука и инновационные идеи в мире: Том 70 № 4 (2025)