Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobierenF&A Diskussionen
input().strip().split(' ')
1 Stimme
1 AntwortHelp : ') Javascript
2 Stimmen
3 AntwortenПочему при (1+' ') выводится 33?
4 Stimmen
1 AntwortWhat does it means( sep= ' ')
0 Stimmen
2 AntwortenWhy does an error pop up here:
var1 = "Trey"
var2 = "Tanner"
var3 = "Ellis"
var4 = "Jake"
var5 = "Christine"
question = input('What is your name? ')
if question == "var1":
print('Welcome Back Trey')
Error:
Traceback (most recent call last):
File "Hi.py", line 6, in <module>
question = input('What is your name? ')
File "<string>", line 1, in <module>
NameError: name 'Trey' is not defined
0 Stimmen
10 AntwortenWhat is meaning this statement?
0 Stimmen
3 AntwortenHow can I make a reference for a list of variables. If false i want the system to check through all my variable to make sure they are false.
Code-
var2 = "Tanner"
var3 = "Jake"
question = input('What is your name? ')
if question == var2:
print('\nWelcome Back Tanner!')
if question == var3:
print('\nWelcome Back Jake!")
if question !=( This is where i need help!)( Is the != the correct way to write not equal?)
0 Stimmen
4 AntwortenWhy not working
-4 Stimmen
4 AntwortenHeute heiß
Help pls/ python
1 Votes
How to remember what you learned
1 Votes
Find saved code
1 Votes
I want a little help.
0 Votes
What is the output of this code?
0 Votes
Usage of Carriage Return (`\r')
2 Votes
HACKER
1 Votes