#๐Ÿ”’ Youtube listed as not a word

33 messages ยท Page 1 of 1 (latest)

hallow mortar
#

I can't seem to get rid of the red thing under youtube. is there a way?

weary waspBOT
#

@hallow mortar

Python help channel opened

Remember to:

  • Ask your Python question, not if you can ask or if there's an expert who can help.
  • Show a code sample as text (rather than a screenshot) and the error message, if you've got one.
  • Explain what you expect to happen and what actually happens.

:warning: Do not pip install anything that isn't related to your question, especially if asked to over DMs.

thin tulip
hallow mortar
#

This is my first python program

print("Hello World!")
print("It's really good!")

Variables = A container for a value (string, integer, float, boolean)

A variable behaves as if it was the value it contains

Strings

first_name = "Bro"
food = "pizza"
email = "[email protected]"

print(f"Hello {first_name}")
print(f"You like {food}")

#Integers (Don't use quotes around integers, because then technically, they would be a string)
age = 25
quantity = 3
num_of_students = 30
#if it were to be 3.5, it would be a float not an integer

print(f"You are {age} years old")
print(f"You are buying {quantity} items")
print(f"Your class has {num_of_students} students")

#press tab for it to type the predicted ghost text

Float (A number that contains a decimal portion)

price = 10.99
gpa = 3.2
distance = 5.5

print(f"The price is ${price}")
print(f"Your gpa is: {gpa}")
print(f"You ran {distance}km")

Boolean (Either true or false. They are generally used internally in a program such as in if statements)

is_student = True
for_sale = True
is_online = True

print(f"Are you a student?: {is_student}")

if is_student:
print("You are a student")
else:
print("You are Not a student")

if for_sale:
print("That item is for sale")
else:
print("That item is Not available")

if is_online:
print("You are online")
else:
print ("You are offline")

Youtube Assignment: make a: (string, integer, float, boolean):

weary waspBOT
#

Hey @hallow mortar!

Please edit your message to use a code block

```py
print('Hello, world!')
```

This will result in the following:

print('Hello, world!')```
hallow mortar
thin tulip
# hallow mortar i posted it above

Variables = A container for a value (string, integer, float, boolean)
A variable behaves as if it was the value it contains
Strings

You forgot to mark it as comment!

#
A variable behaves as if it was the value it contains
Strings```
hallow mortar
#

?

hallow mortar
#

doesn't# mean comment?

thin tulip
hallow mortar
#

does it not show the # wheni write it?

#

like when i post on disc?

thin tulip
#

it was bolded.

hallow mortar
#

can you show me how to rmeove the red thing?

hallow mortar
#

i'm using pycharm

thin tulip
#

your script should be working fine.

hallow mortar
thin tulip
#

It will not affect your script.

hallow mortar
#

ok

livid vector
#

it's not about grammar. you spelled YouTube wrong

#

needs a capital T

ionic bay
hallow mortar
hallow mortar
weary waspBOT
#
Python help channel closed for inactivity

This help channel has been closed. Feel free to create a new post in #1035199133436354600. To maximize your chances of getting a response, check out this guide on asking good questions.