# #34 Python Tutorial for Beginners | Types of Arguments in Python

///#34 Python Tutorial for Beginners | Types of Arguments in Python

## #34 Python Tutorial for Beginners | Types of Arguments in Python

Python Tutorial to learn Python programming with examples
Complete Python Tutorial for Beginners Playlist :
Python Tutorial in Hindi :

Github :-

Editing Monitors :

Check out our website:

Follow Telusko on Twitter:

Follow on Facebook:
Telusko :
Navin Reddy :

Follow Navin Reddy on Instagram:

Subscribe to our other channel:
Navin Reddy :
Telusko Hindi :

Donation:
PayPal Id : navinreddy20
Patreon : navinreddy20

source

By |2020-09-04T09:18:00+00:00September 4th, 2020|Python Video Tutorials|22 Comments

### 22 Comments

1. Khan Sofia September 4, 2020 at 9:18 am - Reply

Getting problm in variable length anrgument
Code
def sum(a , *b):
c = a
for i in b :
c = c+i
print(c)

sum (5,6,8,10)
I am getting o/p : 11
19
29

Desired o/p : 29

2. Muhshin Khan September 4, 2020 at 9:18 am - Reply

Great videos in Python.

3. Swarnava Sinha Roy September 4, 2020 at 9:18 am - Reply

3:53 So Naveen was actually 33 when this video was made π

4. Saurabh Negi September 4, 2020 at 9:18 am - Reply

Best pytohn tutorials

5. Laith Wahib September 4, 2020 at 9:18 am - Reply

c = sum(b)+a
print(c)
π

6. hadi habib September 4, 2020 at 9:18 am - Reply

We can also use a function while creating a function right?

7. Ritesh Jaiswal September 4, 2020 at 9:18 am - Reply

I am really enjoying the series because of your good teachings

8. Noor Khan September 4, 2020 at 9:18 am - Reply

print("Brilliant!!!!")

9. Souvik Mallik September 4, 2020 at 9:18 am - Reply

After watching this video I got a clear idea about functions. Though the previous one provided basic idea.

10. Amit kumar September 4, 2020 at 9:18 am - Reply

CODE-def sum(a,*b):
c=a
for i in b:
c=c+i
print(c)
sum(5,6,34,78)

OUTPUT-
11
45
123
AND IN THIS OUTPUT IS SOMETHING ELSE' WHY AND ONE EXPLAIN PLESE

11. ii. B. Sasi kumar Raju September 4, 2020 at 9:18 am - Reply

We urged ur performance is this master- mind teaching…….. ππ

12. Fricky ThatsIt September 4, 2020 at 9:18 am - Reply

How can we do the same with user input??

13. ali sabir September 4, 2020 at 9:18 am - Reply

hello navin sir i'm actually confusion a lot in print and return argument please my that confusion
thanks

14. Bharath Vaj September 4, 2020 at 9:18 am - Reply

Did he just call me alienππππ

15. Vineet Pattam September 4, 2020 at 9:18 am - Reply

in line c= c+i how come all the numbers are with out append???

16. manohar sagunthalla September 4, 2020 at 9:18 am - Reply

How it will work on string if I pass as parameters? How to use asterisk in string parameter?

17. anubhav anand September 4, 2020 at 9:18 am - Reply

Great teacher

18. yajur madan September 4, 2020 at 9:18 am - Reply

Bruh you 30 now? thought you would be at least at the age where you're going thru a mid-life crisis lmao. PS thanx for the tutorials, LOVE THEM.

19. Frusciante September 4, 2020 at 9:18 am - Reply

can I do an if statement on name and age for example if the actual argument is string then print it in name and if it is int then print it on age

20. Abhay Pratap singh September 4, 2020 at 9:18 am - Reply

Sir you are fabulous. I understand each and every point very easily.

21. sreedevi rajeev September 4, 2020 at 9:18 am - Reply

Mr.reddy ..U r amazing!!

22. Raghav Venu September 4, 2020 at 9:18 am - Reply

i have a doubt
def add(a=3,b):
c=a+b
print(c)
add(5,6)
if we give a default value to the 1st parameter it gives me an error such as a "default argument followed by an non default argument"
is it necessary to provide default values to both parameters?