Обсуждения
What is the error in this code
0 голосов
4 ответовIf-else problem
1 голос
6 ответовWeb Development or programming?
10 голосов
4 ответовWhat's wrong?!
2 голосов
3 ответовWhat’s this error
-1 голос
10 ответовJob at young age?
0 голосов
7 ответовhow to
Complete the code to output
0 голосов
1 ответhow do I get line breaks?
name = input("What is your name?:")
print("Hiya, " + name)
age = int(input("Tell me your age:"))
year = str((2016 - age) + 100)
num = int(input("Enter a number between 1 and 50:"))
line = str((name + " will be 100 in the year " + year) * num)
print(\n line)
2 голосов
3 ответовHello can you help me?
0 голосов
3 ответовHow can I read from a file this line
19 34 Gateway Arch - St. Louis, MO.
The first digit is age, second timeUsed, and the rest description. So I want to read them and store them in a variable.
The code insime my while loop of my File is int age = reader.nextInt();
Int Tused = reader.nextInt();
Description = reader.next()
0 голосов
4 ответовАктуальное сегодня
How to allow one instance of exe
1 Votes
purchase of a subscription
1 Votes
What has happened?
1 Votes
Theater management help me
2 Votes
What should I add/improve ?
1 Votes
Tools for web design?
1 Votes