def recursion(n):
if n < 1:
return 0
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <bits/stdc++.h> | |
using namespace std; | |
void solution(){ | |
} | |
int main() | |
{ | |
ios_base::sync_with_stdio(false); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <bits/stdc++.h> | |
using namespace std; | |
int main() | |
{ | |
// uncomment if you want to use cin cout for input output ( don't mix with scanf, printf ). | |
// ios_base::sync_with_stdio(false); | |
// cin.tie(NULL); | |
// cout << fixed << setprecision(2); | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
Many of us want to learn more advance topics/tech using python as a main tool. ex: django, DS | |
But I think minimum level of expertise on python is required to learn advance topics. | |
This small test can help you to take the decision. Is it ok for you to learn new topics or you need to focus more on python? | |
If you can solve this problem "With just one line of code". You are 60% of to learn more advance topics. | |
If you have any questions. contact: [email protected] |
Your First Program
10 PRINT "Helloooooooooooooooo, world! I'm ready to "
Declare Variable
10 LET A = 5
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <bits/stdc++.h> | |
using namespace std; | |
#define KEY_EXISTS_DICT(KEY, DICT) ( (DICT.find(KEY) == DICT.end()) ? (false) : (true)) | |
string INPUT_FILE_NAME = "Data.CS.SFSU.txt"; | |
string POS[] = {"noun", "pronoun", "adjective", "verb", "adverb", "preposition", "conjunction", "interjection"}; | |
string make_lower(string data) { |
NewerOlder