8 Respuestas
+ 4
@Utpal Savliya I've seen more doubts at Ruby than Python, all they say is its only good for exploits and other than that its a pain in the ass even thou its not =(
+ 12
What if Python isn't a snake? I doubt that it is. I just have this weird hunch that it's a group of humorous men from the British Isles...
+ 10
@Utpal Check it Out! Its my Python Doubt!
https://code.sololearn.com/cm91X7sU1148/?ref=app
+ 5
@Ahri Fox
You can Google about it.
+ 5
@Harshit Gupta
I guess that code will help you out.
https://code.sololearn.com/c5780coR1nLQ/?ref=app
Utpal Rock(Rox). Cheers with my bottle's cap.
(^^)^_^😎😁😂😉
+ 2
Here,
9**19 = int(9**19) = 1350851717672992089
float(9**19) = 1350851717672992e+18
int(float(9**19)) = 19508517176729920000
clearly,
9**19 == int(float(9**19)) will result in False.
int(False) will result in 0 and that's the answer.
Like in mathematics, where we use scientific notation and approximate values or round them, in python it also happens, as these last digits don't have value when compared with such large numbers.
I guess that's the reason.
0
Write a python program to remove all the lines that contain character a in a file and write it to another file
0
>>>x={'a':12}
>>>y={'p':45,'q':34}
>>>z={**x,**y}
>>>print(z)
Output. ?