Dyskusje Q&A
Swift for beginners?
1 Głos
2 odpowiedzihow to develop a system that can track employee information for an organization. the employee information you must store is as follows: +Name
+sex
+job title
+organization they work for
+birthday
+employee id
the organization should have three departments which has the following attributes
+department name
+city
+department id
-1 Głos
2 odpowiedziHey guys im trying to male a simple login use variables and inputs. Can i have some help with my code! A syntax error keeps coming up where i state
x = v.
print 'Hello User'
x = 'Tanner'
v = input('ENTER YOUR NAME HERE')
if x = v
print ('\n Welcome Tanner!')
else x != v
print ('\n User Not Found!!')
0 głosów
9 odpowiedzihow 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 głosów
3 odpowiedziPopularne dzisiaj
How
5 Votes
Most asked 3.0
0 Votes
Print("hello ,world!"[7:13][2])
0 Votes
is python better than JS
0 Votes
Python Module in Sololearn
2 Votes