type tag

18 questions


1 answers
116 views
0
Difference in size of ('a') in C/C++

I learned that the size of char is 1 in C/C++The result of printing('a') in C/C++ is different From C:#include <stdio.h>int main() { printf(Size of char : %d\n,sizeof(char)); return 0;}From C++:...

1 years ago

1 answers
95 views
0
How do I process True only when the object is a list or tuple, and False when the string is false?

If an object is a list/tuple, you want to continue to run the program, and if it is a string, you want to create a script that says assert.assert isinstance(lst, list) or isinstance(lst,tuple)Is there...

1 years ago

2 answers
104 views
0
Is it standard not to declare type="text/javascript" within

© 2024 OneMinuteCode. All rights reserved.