Courses
Log inStart Learning AI
Courses
Log inStart Learning AI

Q&A Discussions

Hi! can anyone help me to write this simple code: #include <iostream> using namespace std; int main() { if (7 > 4) { cout << "Yes"; } return 0; } into Microsoft Visual Studio 2015?
c++if-statements
0 Votes
4 Answers
21st Jul 2016, 10:15 AM
David Kela
David Kela - avatar
Why this code runs?: nums = [4, 5, 6] msg = "Numbers: {} {}". format(nums[0], nums[1], nums[2]) print(msg) Numbers:4, 5. Byt the code: nums = [4, 5, 6] msg = "Numbers: {} {} {} {}". format(nums[0], nums[1], nums[2]) print(msg) leading to error? IndexError: tuple index our of range
pythonstrings
1 Vote
3 Answers
16th Oct 2016, 10:28 PM
питер огнекрылый
питер огнекрылый - avatar
< Previous123Next >
Hot today
What kind of questions do companies ask in Data Analyst interviews (including Python, SQL, Power BI, and Excel)?
1 Votes
??
1 Votes
Give some simple practice questions in C
0 Votes
Ошибка в приложении Sololearn
1 Votes
Hello guys,
1 Votes
Did sololearn helped you to get easier a job?
1 Votes
Help me
1 Votes
Programming
0 Votes
how do they use javascript
0 Votes
Code coach isn't awarding xp
0 Votes