asteroid

15 posts

asteroid

asteroid

@earth_asteroid

Katılım Ekim 2025
13 Takip Edilen2 Takipçiler
asteroid
asteroid@earth_asteroid·
@clcoding This code gives 'Error', because 'pd' isn't defined. To fix it, it's necessary to add in the first line 'import pandas as pd' ( 'pd' is abbreviation for 'pandas', and 'df' is for dataframe). With this fix, answer is '1'
English
1
0
2
128
Python Coding
Python Coding@clcoding·
What will be the output of the following Python code? df = pd.DataFrame({'A': [1, 2], 'B': [3, 4]}) print(df.loc[0, 'A'])
English
2
3
22
5.3K
asteroid
asteroid@earth_asteroid·
@clcoding B, because lambda substitutes the return of method f
English
0
0
0
59
asteroid
asteroid@earth_asteroid·
@Python_Dv Error. "num" is a local variable, so inaccesible out of the function. To print the result of the function "fun1", it should be good to change line 2 with <print(num + 25)> (without angle brackets) and delete line 5.
English
0
0
1
135
Python Developer
Python Developer@Python_Dv·
What is the output? Write your answer in the comments and share it with your friends 👑👑
Python Developer tweet media
English
14
8
77
6.9K
asteroid
asteroid@earth_asteroid·
@Python_Dv Correct answer is A. Replace() method creates a new string, that is assigned to 'vegatible' variable. Original string isn't modified (strings are immutable)
English
0
0
0
10
Python Developer
Python Developer@Python_Dv·
Comment your answer now ⬇️
Python Developer tweet media
English
26
10
89
10.7K
asteroid
asteroid@earth_asteroid·
@H0H0v We assume that Car Y is halfway to the finish line; because distance is more then 250 km (it's a curve), time to finish is more then 5 h (the time needed to car X to arrive at the line). So, car X wins.
English
0
0
0
20
KHALID
KHALID@H0H0v·
Which car will win the race ?
KHALID tweet media
English
52
3
61
15.5K
asteroid
asteroid@earth_asteroid·
@IQTestBrain The first one is an equation of second degree, so we'll have two roots: 3 and -3. Finally, x³ is 27 or -27.
English
0
0
0
10
asteroid
asteroid@earth_asteroid·
@Python_Dv I tried this code, with result True True. I than searched why I had this result. If I well understood, in Python 3 integers are considered all long, so it doesn't exist more difference between < 256 and > 256 numbers
English
0
0
0
189
Python Developer
Python Developer@Python_Dv·
🤔🚀 Comment your answers below! 👇
Python Developer tweet media
English
15
6
76
8.9K
Python Developer
Python Developer@Python_Dv·
🤔🚀 Comment your answers below! 👇
Python Developer tweet media
English
15
6
65
7.9K
asteroid
asteroid@earth_asteroid·
@juvefcdotcom I would like to see McKennie in Juve for many years!!
English
0
0
1
172
JuveFC
JuveFC@juvefcdotcom·
Does McKennie deserve a new contract?
JuveFC tweet media
English
67
3
441
14K
asteroid
asteroid@earth_asteroid·
@PythonPr Answer D, because the last line has an indentation error
English
0
0
1
697
Python Programming
Python Programming@PythonPr·
Python Question / Quiz; What is the output of the following Python code, and why? Comment your answers below!
Python Programming tweet media
English
40
8
135
20.3K
asteroid
asteroid@earth_asteroid·
@Python_Dv First and second are first degree equations, with solutions respectively 6 and 3. The third is a second degree eq, so it has two sol: 4 and -3. Finally, solution are: 14 and 21.
English
0
0
1
109
Python Developer
Python Developer@Python_Dv·
🤔🚀 Comment your answers below! 👇
Python Developer tweet media
English
22
3
13
4.1K
asteroid
asteroid@earth_asteroid·
@Python_Dv The right answer is B, because join() method creates the string "hello" which is then assigned to variable b, but "a" and "b" are different ovjects in memory. If I may point a mistake in the picture, a quotation mark lacks before .join method
English
2
0
3
932
Python Developer
Python Developer@Python_Dv·
Comment below the output! 😃👇
Python Developer tweet media
English
10
4
74
12.3K
asteroid
asteroid@earth_asteroid·
@Python_Dv Python is wonderful also because of single line statements...concise and elegant
English
0
0
0
73
asteroid
asteroid@earth_asteroid·
@Python_Dv Answer C (False, True, because x is Integer, while y and z are Float; Python reads "5." and "5.0" like two ways to represent the same value.
English
0
0
0
204
Python Developer
Python Developer@Python_Dv·
Comment below the output! 😃👇
Python Developer tweet media
English
25
7
107
15.2K
Zucchero Fornaciari
Zucchero Fornaciari@ZuccheroSugar·
Quando arriva Natale in Islanda suonano “Così Celeste”, che è diventata un canto natalizio dal titolo “Ef Eg Nenni” e come da tradizione io e Helgi Björns ve la cantiamo.
Italiano
76
504
3.6K
101.7K