In This Video,
We will write a Python Program From Scratch:
to Add the Numbers Without using The Addition Operator !!!
1.without function:
We used For-loop to increment the first number in each iteration while variable "i" starts from 1 till the second number using the:
for i in range(initial,final+1),
final +1 because range starts from initial and stops before final, So to include the final we have to increment it with 1.
This made the summation to be stored in the variable "sum",and we printed it on the screen.
2.with function:
We called the function, stored returned(summation) value in another variable ("sum") ,and printed it in the function only, we used the same logic of For-loop
Do Like 👍 Share 💖✨ and Subscribe 👑✨
Also Comment Down Below 👇 if you have any questions ☺️
Complete Tutorials:
C Language Playlist:
• C Language 😊💓💻
JAVA Playlist:
• Java
Python Playlist:
• Python
PHP & JavaScript (Web Technology) Playlist:
• Web Technology
In questa pagina del sito puoi guardare il video online Python Source code to Add two Numbers Without Addition Operator della durata di ore minuti seconda in buona qualità , che l'utente ha caricato Pritam's Code Journal 03 luglio 2022, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 820 volte e gli è piaciuto 27 spettatori. Buona visione!