• Kurse
  • Code Compiler
  • Diskutieren
  • Preise
  • Teams
Menu

F&A Diskussionen

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 Stimmen
4 Antworten
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 Stimme
3 Antworten
16th Oct 2016, 10:28 PM
питер огнекрылый
питер огнекрылый - avatar
< Vorherige123Weiter >
Heute heiß
I have finished first in Saturn League 3 times in a row, why have I not been given the badge for “Intergalactic Champion”
3 Votes
I am new
1 Votes
Changing String Variables into int in C++
0 Votes
Python intermediate help with dictionaries
0 Votes
Advertising in Sololearn
1 Votes
Marquee
1 Votes
Fill in the blank to declare a static variable.
0 Votes
RUST'S FUTURE
1 Votes
What are the advantages and disadvantages of using let vs var when declaring variables in JavaScript?
0 Votes
Any Advise?
1 Votes