Post

Sheddy
Sheddy@SheddyBalaBala·
@PythonPr It's D a is an integer and b is a string in this code So 9 is seen like an alphabet that should be written 4 times
English
1
0
7
967
Robin Fultz
Robin Fultz@robin16633·
@PythonPr Personally, I think it's C. Error. Because a is a string and b is numerical.
English
1
0
5
757
Gopuff
Gopuff@gopuff·
Our delivery comes with a genius. Go learns what you like, builds your cart in seconds, and gets it all to your door in as fast as 15 minutes.
English
1
2
91
656.1K
Fadilulah
Fadilulah@fadilulah872·
@PythonPr Error because you can't add string and numeric value together
English
0
0
3
199
Hyperagent
Hyperagent@hyperagentapp·
42 agents. 216 threads. One dashboard. Every agent gets its own prompt, tools, skills, and budget. Deploy specialized agents across your company. From the team at Airtable.
English
0
1.4K
10K
72.8M
Bob Armstrong
Bob Armstrong@CoSyBobA·
@PythonPr It's interesting that these are potential genericizations and overloadings of the arithmetic symbols . In current development CoSy , need to be more specific : ` 9 4 _take 9999 as a string .
English
0
0
2
212
BIGO LIVE
BIGO LIVE@BIGOLIVEapp·
Up late and bored? Tap into live conversations.
English
0
15
274
4.1M
KHADER MEITE 🇨🇮
KHADER MEITE 🇨🇮@KhaderMeite·
@PythonPr Error, because the variable a being a character string cannot be multiplied to an integer. So the exit is C
English
0
0
2
126
Fadilulah
Fadilulah@FadilulahA999·
@PythonPr Error you can't add numbers and strings
English
0
0
1
11
ReBet
ReBet@rebetapp·
Where Worlds Best Collide. Exclusive welcome offer.
English
0
21
415
2.1M
Coding Computing Coach
Coding Computing Coach@CodingComputing·
@PythonPr Answer: D Solution: The python does different things for different kinds of operators. a is a string, '9'. b is an int, 4. In python, string-int multiplication is defined as repepetition of the string, int number of times. So, '9' * 4 gives 4 repetetions of 9, ie, "9999".
English
0
0
1
76
Partager