Muhammad Hunain

770 posts

Muhammad Hunain banner
Muhammad Hunain

Muhammad Hunain

@Hunain_5698

Karachi, Pakistan شامل ہوئے Aralık 2018
88 فالونگ50 فالوورز
پن کیا گیا ٹویٹ
Muhammad Hunain
Muhammad Hunain@Hunain_5698·
YouTube videos Download I made a program to download YouTube videos in high or low quality and changing download directory To download video in high quality write 'best' and for low quality write 'worst' instead of 'best' as given in pic #Python #YouTubeDownload #YouTube
Muhammad Hunain tweet media
English
0
0
4
372
Rony
Rony@Ronycoder·
𝐀𝐥𝐥 𝐏𝐚𝐢𝐝 𝐂𝐨𝐮𝐫𝐬𝐞𝐬 (𝐅𝐫𝐞𝐞 𝐟𝐨𝐫 𝐅𝐢𝐫𝐬𝐭 𝟓𝟎𝟎𝟎 𝐏𝐞𝐨𝐩𝐥𝐞)😍👇 1. Artificial Intelligence 2. Machine Learning 3. Cloud Computing 4. Ethical Hacking 5. Data Analytics 6. AWS Certified 7. Data Science 8. BIG DATA 9. Python 10. MBA (48 Hours only ⏰) To get- 1. Follow @Ronycoder [MUST] 2. Like & Retweet 3. Reply " ALL " 🧲
Rony tweet media
English
1.7K
838
1.6K
369.3K
Muhammad Hunain
Muhammad Hunain@Hunain_5698·
@driscollis Answer C Enumerate is used for index So, the key will be the index 01,2,3,4 The value is the letters a,b,c,d,e So, C is the right answer
English
0
0
0
2
Mike Driscoll
Mike Driscoll@driscollis·
#Python Pop Quiz 🐍❓ What is the output of the following code? A) TypeError B) SyntaxError C) {0: 'a', 1: 'b', 2: 'c', 3: 'd', 4: 'e'} D) {'a': 0, 'b': 1, 'c': 2, 'd':3, 'e': 4} E) None of the above
Mike Driscoll tweet media
English
12
4
39
3.2K
Muhammad Hunain
Muhammad Hunain@Hunain_5698·
@Python_Dv Two sets can't concatenate by using+ operand So, C is the right answer
English
0
0
0
7
Muhammad Hunain
Muhammad Hunain@Hunain_5698·
@Python_Dv Answer B List comprehension method For loop means iterate through numbers in list and check for even numbers because (if x%2==0) So 2 and 4 are the numbers Now x*x means 2*2=4 4*4=16 So, B is the right answer
English
0
0
0
4
Muhammad Hunain
Muhammad Hunain@Hunain_5698·
@Python_Dv Answer D) 1. In line one str1 is a variable equal to a string "6/4" 2. In line two print('Str1') the Str1 is in quotation means not the same variable as in line one So, the output will be Str1 In short, Print(Str1) the output will be 6/4 Print ('Str1') the output is Str1
English
0
0
0
3
Muhammad Hunain
Muhammad Hunain@Hunain_5698·
@Python_Dv x=3 y=4 Then y=5, the new value of y will replace the previous one So, y=5 z=6 3+5+6=14 So, B is the right answer
English
0
0
0
38
Muhammad Hunain
Muhammad Hunain@Hunain_5698·
@Python_Dv str1 = 'abc' str2 = str1 means str2='abc' Now, str1+='d' means str1='abcd' Where str2 remains unchanged str1 is str2 means 'abc' is 'abcd' Which returns false So, B is the right answer
English
0
0
1
150
Muhammad Hunain
Muhammad Hunain@Hunain_5698·
@clcoding If parameters having values by default and not pass the argument then those values will print out when invoking the function But if having default parameters and also passing the value as a argument the argument value will be preferred So, A is the right answer
English
0
0
0
16
Muhammad Hunain
Muhammad Hunain@Hunain_5698·
@Python_Dv Spli.t method split guven string with assigned element and returns a list In rada remove 'a' from radar and return the remaining variables in a list So, A is the right answer
English
0
0
1
74
Muhammad Hunain
Muhammad Hunain@Hunain_5698·
@Python_Dv In python ** represents exponent or power Square of 11=121 Cube of 2=8 121+8=129 So, A is the right answer
English
0
0
0
70
Muhammad Hunain
Muhammad Hunain@Hunain_5698·
@Python_Dv Swapcase will change the lower case into upper case So, A is the right answer
English
0
0
0
38
Muhammad Hunain
Muhammad Hunain@Hunain_5698·
@clcoding Invoke hamster class which inherits animal class Super method will print very And the small will be printed out The output will be very small
English
0
0
0
277
Python Coding
Python Coding@clcoding·
Python Oops challenge Day - 9 What is the output of following Python Code?
Python Coding tweet media
English
34
27
268
46.1K
Muhammad Hunain
Muhammad Hunain@Hunain_5698·
@Python_Dv Join method in python join the list elements with given delimiter ''.join(L) means join elements in list L without space between them So, C is the right answer
English
0
1
0
114
Muhammad Hunain
Muhammad Hunain@Hunain_5698·
@clcoding This is based on Method overriding concept Calling car(), the method printconsumption is not defined in child class so it will move to parent class and Print "low" Invoking truck() the method is there, the output will be "high" for truck() The final output will be Low High
English
0
0
1
267
Python Coding
Python Coding@clcoding·
Python Oops challenge Day - 4 What is the output of following Python Code?
Python Coding tweet media
English
24
42
335
38.9K
Muhammad Hunain
Muhammad Hunain@Hunain_5698·
@clcoding Second element of list at index position 0 The output will be 2 So, B is the right answer
English
0
0
0
135